Current time: 11-27-2024, 02:10 PM Hello There, Guest! (LoginRegister)


Post Reply 
Possible to use mod_php instead of fast-cgi?
Author Message
robmorin Offline
Junior Member
*

Posts: 208
Joined: Apr 2007
Reputation: 0
Post: #18
RE: Possible to use mod_php instead of fast-cgi?
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
02-06-2008 05:44 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Possible to use mod_php instead of fast-cgi? - robmorin - 02-06-2008 05:44 AM

Forum Jump:


User(s) browsing this thread: 4 Guest(s)