andig on 2.4.0
andig on andig-patch-1
andig on master
Upgrade fixer (#550) (compare)
andig on master
Fix trim(nil) deprecated causin… (compare)
memory leaks only happen if the developer of a library/the application is not aware that the app is handling several request over linger time. php itself does t have issue with it
and one process =one request is already what php-fpm is doing
I read that as php-pm
so do you think it would make sense to try to find a middleground between PHP-FPM and PHP-PM? Like this:
I can see several options for how, but I want to make sure the premise is all right?
fastcgi_finish_request(), maybe like
fastcgi_request_ready()) -> PHP-FPM stops the process and waits for a request -> when a request comes in, PHP-FPM populates the global variables (
$_GET, etc.) and resumes the execution of the PHP script right were it stopped
[www-data@sp-prod1 backend]$ composer.phar update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
- php-pm/php-pm dev-master requires react/http dev-master#cd15204bd15d106d7832c680e4fb0ca0ce2f5e30 -> satisfiable by react/http[dev-master]. - php-pm/php-pm dev-master requires react/http dev-master#cd15204bd15d106d7832c680e4fb0ca0ce2f5e30 -> satisfiable by react/http[dev-master]. - Removal request for react/http == 9999999-dev - Installation request for php-pm/php-pm dev-master -> satisfiable by php-pm/php-pm[dev-master].
So, i trying setup basic app, based on PSR-7 and Zend\Stratigility. I repeat example from php-pm/php-pm-psr7 but i have error:
Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Argument 2 passed to Zend\Stratigility\MiddlewarePipe::process() must be an instance of Interop\Http\ServerMiddleware\DelegateInterface, null given, called in php-pm/vendor/zendframework/zend-stratigility/src/MiddlewarePipe.php on line 86 in php-pm/vendor/zendframework/zend-stratigility/src/MiddlewarePipe.php:99
Pls. i need help =(