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
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

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 ?
   PKGBUILD (9.7 KiB)
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
Comment by Woody Gilk (Shadowhand) - Wednesday, 14 October 2009, 23:07 GMT
I would love to see this added as well, however the attached PKGBUILD is using outdated sources.

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.

Comment by Sagattarii (sagattarii) - Monday, 04 January 2010, 16:30 GMT
Yes, I would love this Feature too, currently I need compile php myself.
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 :)

Loading...