This bug was also reported in Ubuntu:

https://bugs.launchpad.net/ubuntu/+source/php5/+bug/900620

The patch file attached is from Thomas Ward:

https://launchpad.net/~trekcaptainusa-tw

https://bugs.launchpad.net/ubuntu/+source/php5/+bug/900620/+attachment/2665282/+files/php-fpm-listen-on-unix-socket.patch

This solves the issue, though it may require that apps that use
php5-fpm change their connect arguments. Currently only phpmyadmin can
be configured to use php5-fpm in the archive, though I'm sure there are
many users who will have to change configurations on upgrade.
--- a/sapi/fpm/php-fpm.conf.in
+++ b/sapi/fpm/php-fpm.conf.in
@@ -102,7 +102,7 @@
 ;                            specific port;
 ;   '/path/to/unix/socket' - to listen on a unix socket.
 ; Note: This value is mandatory.
-listen = 127.0.0.1:9000
+listen = /var/run/php5-fpm.sock
 
 ; Set listen(2) backlog. A value of '-1' means unlimited.
 ; Default Value: 128 (-1 on FreeBSD and OpenBSD)

Reply via email to