Lighttpd won't serve up php pages - 500 internal server error

Andrew Pantyukhin infofarmer at FreeBSD.org
Fri Sep 14 00:13:53 PDT 2007


On Wed, Sep 12, 2007 at 05:41:01PM +0100, Gabriel Dragffy wrote:
> Hi all
> 
> I've install php5 and php5-extensions from the latest ports and also lighty 
> too. I compiled php5 with fastcgi support.
> 
> In lighttpd's error log I see the following:
> 2007-09-12 17:32:06: (mod_fastcgi.c.1731) connect failed: Connection 
> refused on unix:/tmp/php-fastcgi.socket-3
> 2007-09-12 17:32:06: (mod_fastcgi.c.2885) backend died; we'll disable it 
> for 5 seconds and send the request to another backend instead: reconnects: 
> 0 load: 1
> 2007-09-12 17:32:06: (mod_fastcgi.c.2658) child signaled: 11
> 2007-09-12 17:32:06: (mod_fastcgi.c.2462) unexpected end-of-file (perhaps 
> the fastcgi process died): pid: 26390 socket: 
> unix:/tmp/php-fastcgi.socket-3
> 2007-09-12 17:32:06: (mod_fastcgi.c.3211) child signaled: 11
> 2007-09-12 17:32:06: (mod_fastcgi.c.3254) response not received, request 
> sent: 850 on socket: unix:/tmp/php-fastcgi.socket-3 for /phpinfo.php , 
> closing connection

Can you try to run it as simple CGI and see what happens?


More information about the freebsd-questions mailing list