php-pm: 403 Forbidden systematically
Hello there,
I’d like to try PPM but I don’t figure out how to make it work with my Symfony 3.3 app. I first tried to use it per-project, but the dependencies conflicts are a real mess.
So I did a global installation, following your README:
$ git clone https://github.com/php-pm/php-pm.git
$ cd php-pm
$ composer install
$ composer require php-pm/httpkernel-adapter:dev-master
$ ln -s `pwd`/bin/ppm /usr/local/bin/ppm
Then,
$ cd my-sf-project
$ ppm start
It loads the workers, but every URL I try to reach result in a 403 Forbidden error, even on static files. This error is reported into the workers output. I’ve got no issue when using php bin/console server:start
instead, and I tried different ports, with and without sudo
.
How to get over this?
Config:
- Ubuntu 16.04
- PHP 7.1 with php7.1-cgi,
disable_functions
sections disabled in php.ini
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 17 (16 by maintainers)
Commits related to this issue
- Fix #273 — committed to andig/php-pm by andig 7 years ago
- Merge pull request #274 from andig/fixstatic Fix #273 — committed to php-pm/php-pm by andig 7 years ago
- Fix #273 — committed to bpolaszek/php-pm by bpolaszek 7 years ago
- Fix #273 — committed to php-pm/php-pm by andig 7 years ago
Has been fixed in master guys 👏