FS#16446 - [php] Add PHP-FPM
Attached to Project:
Arch Linux
Opened by Hervé COMMOWICK (vr) - Saturday, 03 October 2009, 11:33 GMT
Last edited by Pierre Schmitz (Pierre) - Saturday, 16 January 2010, 13:10 GMT
Opened by Hervé COMMOWICK (vr) - Saturday, 03 October 2009, 11:33 GMT
Last edited by Pierre Schmitz (Pierre) - Saturday, 16 January 2010, 13:10 GMT
|
Details
PHP CGI/FastCGI can be enhanced by php-fpm patch, it is non
obtrusive because it doesn't change the behaviour of
php-cgi.
I modify the original pkgbuild to add the patch. do you think it can be included ? |
This task depends upon
Closed by Pierre Schmitz (Pierre)
Saturday, 16 January 2010, 13:10 GMT
Reason for closing: Upstream
Additional comments about closing: will be included when upstream does so
Saturday, 16 January 2010, 13:10 GMT
Reason for closing: Upstream
Additional comments about closing: will be included when upstream does so
Home page is here: https://launchpad.net/php-fpm/
Download file: http://launchpad.net/php-fpm/master/0.6/+download/php-fpm-0.6-5.3.0.tar.gz
Installation instructions: http://github.com/dreamcat4/php-fpm/blob/0.6-5.3.0/readme.markdown
Version 0.6 of PHP-FPM does not require patching PHP, and instead adds PHP-FPM as an additional binary.
If you add this feature (it will be shipped with php 5.3.2 or 5.3.3, so you need no patch) please change the path of the php-fpm.pid file and the socket to
/var/run/php-fpm/php-fpm.pid and /var/run/php-fpm/php-fpm.socket
or
/var/run/php/php-fpm.pid and /var/run/php/php-fpm.socket
Because the defaults are: /tmp/php-fpm.socket and /var/run/php-fpm.pid
And please move the config file from /etc/php-fpm.conf to /etc/php/php-fpm.conf
I would love to see the feature with the current PHP 5.3.1, other distributions (e.g. ubuntu and debian) do already provide such a package. If you do not want to patch php, then integrate it when it is merged with php :)