php-pm
php-pm copied to clipboard
PPM is a process manager, supercharger and load balancer for modern PHP applications.
this is more of a question because i didn't find any other resource to find this information. is it possible to tell ppm to use a specific config file (php.ini)...
Tried the single line docker example (` phppm/nginx --bootstrap=laravel `) with a laravel 8 app and got this error: `ReflectionException: Class translator does not exist in /var/www/vendor/laravel/framework/src/Illuminate/Container/Container.php:830` This a know...
#### Steps to reproduce the issue 1. Add ppm to your docker-compose.yml (Symfony5.1) as here (https://github.com/php-pm/php-pm-docker) 2. Launch docker (`$ docker-compose up`) #### What's the expected result? - Expect PPM...
Basically, I did these steps: `symfony new ppm-test` `cd ppm-test` ` docker run -v `pwd`:/var/www -p 8080:80 phppm/nginx --static-directory=public/` Output: ``` /var/www +---------------------+--------------------------+ | bridge | HttpKernel | | host...
One of the things php-pm allows to do, which simple php-fpm doesn't, is to share the state between the requests. Of course, this shouldn't be overused, but is caching things...
This fixed: Test `ab -c 10 -n 500 "http://localhost:8080/abtesting/" & bash -c "sleep 5; ./vendor/bin/ppm reload --cgi-path=/usr/local/bin/php"` Without the fix, I see errors in stderr ppm: ``` Current memory usage...
Some code is borrowed from https://github.com/phlib/console-process (LGPL)- need to double-check if that is ok
I primarily use PPM to have all kinds of data ready for computation at runtime when a request is coming in. In order for that data to be fresh, i...
I have worker process with sleep(2 sec). Option `max-execution-time` is 4 sec. I see error `Maximum execution time exceeded` sometime. My config and extend log: +---------------------+-----------------------------------------+ | bridge | PHPPM\Bridges\Psr15Middleware...
Is there a reason to have this? I do not think there should be a situation where the PHP installation used for the master and slave processes is disparate. This...