Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99432 - lighttpd stops working after upgrade of php-cgi to version php-cgi-4.4.0-r1
Summary: lighttpd stops working after upgrade of php-cgi to version php-cgi-4.4.0-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High critical
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-18 07:40 UTC by Steph L
Modified: 2005-07-19 07:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steph L 2005-07-18 07:40:45 UTC
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
Comment 1 Sebastian Bergmann (RETIRED) gentoo-dev 2005-07-18 22:48:46 UTC
Did you emerge php-cgi-4.4.0-r1 with USE=fastcgi?
Comment 2 Steph L 2005-07-19 07:32:35 UTC
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 !