lighttpd stops working after upgrade of php-cgi to version php-cgi-4.4.0-r1 . With prior versions of php-cgi spawn-fcgi (FCGI) worked fine. Now the process spawn-fcgi does not start at all : OK appears and 2 lines are outputed : Content-type: text/html X-Powered-By: PHP/4.4.0 but no process is really started. I've created a ticket at lighttpd bugtracking system too : http://trac.lighttpd.net/trac/ticket/184 Reproducible: Always Steps to Reproduce: 1.When running for instance php-cgi-4.3.11-r1 : /etc/init.d/spawn-fcgi start issues * Starting spawn-fcgi ... [ ok ] 2.telnet 127.0.0.1 1026 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. GET / Connection closed by foreign host. A process is listeing to port 1026 3.After upgrading to php-cgi-4.4.0-r1 : /etc/init.d/spawn-fcgi start * Starting spawn-fcgi ... [ ok ] # Content-type: text/html X-Powered-By: PHP/4.4.0 Actual Results: No process is listening to port 1026 telnet 127.0.0.1 1026 Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused Expected Results: A process should be started
Did you emerge php-cgi-4.4.0-r1 with USE=fastcgi?
You're definitively right : with Php 4.4 we now need to add fastcgi to the USE variable to get fastcgi support. I missed that change. After adding it and re-emerging it is working fine. Thks for your support !