Yet another APC problem

software development


Hello guys!

So, i’ve installed APC like the tutorial on the wiki means… But I still got one error.
I’ve followed the fastcgi tutorial too!

At the first time that you run one PHP script it works, but, later, while I don’t kill the process, I got the error #500 - Internal server error.

The apache logs:
[Sun Dec 23 20:26:07 2007] [error] [client] FastCGI: comm with (dynamic) server “/home/xtshare/” aborted: (first read) idle timeout (60 sec)
[Sun Dec 23 20:26:07 2007] [error] [client] FastCGI: incomplete headers (0 bytes) received from server “/home/xtshare/”

My .htaccess (it’s located at /home/xtshare/ folder):
Options +ExecCGI
AddHandler fastcgi-script fcg fcgi fpl
AddHandler php5-fastcgi .php
Action php5-fastcgi /cgi-bin/php5-wrapper.fcgi

My php5-wrapper.fcgi file:
export PHPRC=./
exec ./php.cgi

if you need…

So… Thanks for help!!