Project

General

Profile

Lighttpd + Xcache = 500 Internal Error Server

Added by ittec over 15 years ago

Operating System: Centos 5
Lighttpd Version: lighttpd-1.4.20
Environment: Lighttpd FCGI Module PHP 5.1.6 Xcache 1.2.2 OpenX 2.6.2

Hi

recently Im trying to move our servers from httpd to lighttpd. I have to test OpenX and all seems to be good but something goes bad when I setup php.ini to load Xcache. When I load Xcache as Zend Extension:

zend_extension = /usr/lib/php/modules/xcache.so

and then restart lighttpd 500 error appear:

500 - Internal Server Error

but if I remove Xcache, OpenX start to work normally. Is a little strange. This is the error when all goes bad:

2008-11-10 18:04:01: (mod_fastcgi.c.2494) unexpected end-of-file (perhaps the fastcgi process died): pid: 24437 socket: unix:/var/run/lighttpd/php-fastcgi.socket-3
2008-11-10 18:04:01: (mod_fastcgi.c.3325) response not received, request sent: 916 on socket: unix:/var/run/lighttpd/php-fastcgi.socket-3 for /index.php , closing connection

The unique php script that ever works is a common phpinfo(), but I have a 500 internal error when Xcache is loaded and is very awful. I like Xcache, it seems a very fast and helpful project so I want to use it to our OpenX servers.

If anyone has any idea, thanks!


Replies (3)

RE: Lighttpd + Xcache = 500 Internal Error Server - Added by ittec over 15 years ago

Hi again

I have installed lighttpd fast-cgi again without XCache. Is very strange becasue only fails with a some php scripts. The rest of php scripts works good. The software used to test lighttpd is OpenX. Our environment is:

Operating System: Centos 5
Lighttpd Version: lighttpd-1.4.20 (ssl) - a light and fast webserver Build-Date: Oct 31 2008 02:40:45
Environment: Lighttpd FCGI Module PHP 5.1.6 OpenX 2.6.2

Lighttpd send a 500 Internal Error Server, and apperas on logs as:

2008-12-10 10:13:12: (mod_fastcgi.c.2494) unexpected end-of-file (perhaps the fastcgi process died): pid: 1869 socket: unix:/var/run/lighttpd/php-fastcgi.socket-49
2008-12-10 10:13:12: (mod_fastcgi.c.3325) response not received, request sent: 2719 on socket: unix:/var/run/lighttpd/php-fastcgi.socket-49 for /www/admin/stats.php , closing connection

I tested with a various configurations, changing max_procs and bin-environment variables but didn't work. Can be a bug? Any idea to solve this issue?

Thanks

RE: Lighttpd + Xcache = 500 Internal Error Server - Added by stbuehler over 15 years ago

This is not a lighty problem, but a php/xcache problem.

RE: Lighttpd + Xcache = 500 Internal Error Server - Added by GeorgH about 15 years ago

I seem to have the same troubles here from time to time.

Is there a solution?

Even if it's not lightys fault, ist may be good to have some helpfull links to the xcache/php sites, where a solution may be?

    (1-3/3)