Bug #61325 [Com]: FastCGI keeps dieing
| From: | rm at romanrm dot ru | Date: | Wed, 21 Mar 2012 10:42:15 +0000 |
| Subject: | Bug #61325 [Com]: FastCGI keeps dieing | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-168683@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=61325&edit=1
ID: 61325
Comment by: rm at romanrm dot ru
Reported by: Alastair at adewra dot com
Summary: FastCGI keeps dieing
Status: Feedback
Type: Bug
Package: CGI/CLI related
Operating System: CentOS
PHP Version: 5.4.0
Block user comment: N
Private report: N
New Comment:
...it worked briefly, but then suddenly stopped with the same symptoms again, and in I notice that
the socket got renamed to "/tmp/php.socket-0-0" this time. Duh!
Previous Comments:
------------------------------------------------------------------------
[2012-03-21 10:40:16] rm at romanrm dot ru
In /etc/lighttpd/conf-enabled/15-fastcgi-php.conf
I had to change /tmp/php.socket to /tmp/php.socket-0
and then it worked.
Looks like the new PHP creates the socket under a different name, adding "-0" to it.
------------------------------------------------------------------------
[2012-03-09 16:09:02] Alastair at adewra dot com
Sorry, i actually ended up downgrading it to 5.3.3 as it was a live server fr
other content and it wasn't a necessity to have it on 5.4.0
Unfortunately, I didnt have core dump set up and when i ran strace, it simply
just hung.
I rebuilt the source several times, and tried to reinstall but it returned the
same error.
I do still have the old php-cgi on my server (but my lighttpd config is currently
pointing to the 5.3.3 one) in a different directory, and when i run -v on the
5.4.0 it now has excluded the warning.
------------------------------------------------------------------------
[2012-03-09 02:35:53] laruence@php.net
Hi, plz look into the pwd of php-cgi, check is there any core dump file generated?
if find one, plz paste the bt here.
thanks
------------------------------------------------------------------------
[2012-03-08 12:36:07] Alastair at adewra dot com
Description:
------------
Currently running Lighttpd which returns a 500 - Internal Server Error with this
log:
2012-03-08 12:26:32: (mod_fastcgi.c.2568) unexpected end-of-file (perhaps the
fastcgi process died): pid: 10734 socket: unix:/tmp/php.socket10726-3
2012-03-08 12:26:32: (mod_fastcgi.c.3356) response not received, request sent:
879 on socket: unix:/tmp/php.socket10726-3 for /index.php?, closing connection
php -v:
PHP 5.4.0 (cli) (built: Mar 7 2012 20:14:12)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
php-cgi -v:
PHP Warning: Unknown: function '1' not found or invalid function name in Unknown
on line 0
PHP 5.4.0 (cgi-fcgi) (built: Mar 7 2012 20:14:29)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
configure line:
./configure --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d -
-with-libdir=lib64 --with-mysql --with-mysqli --with-zlib --with-curl --with-
mcrypt --enable-cgi
If there is anything else I can do to help I will. Sorry, this is my first bug
report.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61325&edit=1