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


I added the following to php.ini: cgi.fix_pathinfo = 1.


And the relevant sections of lighttpd.conf are:
server.modules              = (
                                "mod_access",
                               "mod_fastcgi", )
server.document-root        = "/usr/local/www/data/"

fastcgi.server             = ( ".php" =>
                               ( "localhost" =>
                                 (
"socket" => "/tmp/php- fastcgi.socket", "bin-path" => "/usr/local/bin/php- cgi"
                                 )
                               )
                            )


The web page shown just displys "500 - Internal Server Error".

Thank you

Gabriel



_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to