As for log files in apache error logs i only see this...
[Tue Feb 05 10:46:59 2008] [error] [client 66.249.66.84] FastCGI: incomplete headers (0 bytes) received from server "/var/www/fcgi/domain.com/php4-fcgi-starter"
if i try to locate the same time stamp in the access log i see this
66.249.66.84 - - [05/Feb/2008:10:46:53 -0500] "GET /d/?q=event/2008/03/09/table/all/all HTTP/1.1" 500 1135
This is one example but many times nothing matches up like this example does...
this particular site's php4starter looks like this..
#!/bin/sh
umask 022
PHPRC="/var/www/fcgi/domain.com/php4/"
export PHPRC
PHP_FCGI_CHILDREN=8
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=500
export PHP_FCGI_MAX_REQUESTS
exec /usr/bin/php4-cgi
I wanted to try to force to use php5, but if i simply replace php4-cgi for php5-cgi the site does not work at all and only shows a blank white page. I tried this with many other sites and i get he same thing... why would it be that i can not force php5?
thanks for all your hep and speedy responses!
Rob..
robmorin Wrote:We host over 200 sites, we get complaints form different people for different sites for different URLs... its very hard to pinpoint anything... i posted earlier my fcgi conf file, here it is again....
if there is something i should be doing to enable more detailed logging or whatever please let me know...
my biggest complainers use Drupal and wordpress, or pretty much any site with a database ... also users of Squirrlmail too.....
<IfModule mod_fastcgi.c>
FastCgiWrapper On
FastCgiIpcDir /var/lib/apache2/fastcgi2
FastCgiConfig -minProcesses 30 \
-maxProcesses 25 \
-singleThreshold 100 \
-killInterval 60 \
-idle-timeout 300 \
-multiThreshold 80 \
-startDelay 5 \
-maxClassProcesses 5 \
-maxProcesses 300 \
-listen-queue-depth 400 \
-pass-header HTTP_AUTHORIZATION
FastCgiServer /var/www/fcgi/master/php4-fcgi-starter -user vu2000 -group vu2000
#
# PHP4 SUPPORT
#
AddHandler php-fastcgi .php .php4 .php3
<Location /php4/php4-fcgi-starter>
SetHandler fastcgi-script
Options +ExecCGI
</Location>
Action php-fastcgi /php4/php4-fcgi-starter
AddType application/x-httpd-php .php .php4
</IfModule>
Thanks....
BeNe Wrote:And what is the Problem for your Error 500?
Check the Apache Error logs.
Maybe to many unkilled PHP-Process ? To many open files with the Apachelogs ? Not enough fastcgi childrens ?
There are many ways...
Quote:I saw that some upgrade to php5.2.2 and its better?
Yes, it´s better
Greez BeNe