Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

All the articles I can find on the web all are dated from 2005 - 2009. We are looking to move to fastcgi with php and apache but can't find any up to date information on the topics. Does anyone know of a good guide or why the information just kind of falls off? We're running Cent OS 5 for our boxes.

share|improve this question
    
Maybe the information you found is still valid? –  Sven Jun 20 '11 at 20:32

1 Answer 1

up vote 2 down vote accepted

For example this guide http://howtoforge.com/how-to-set-up-apache2-with-mod_fcgid-and-php5-on-centos-5.2 is very good but the wrapper script php-fcgi-starter

#!/bin/sh
PHPRC=/etc/
export PHPRC
export PHP_FCGI_MAX_REQUESTS=5000
export PHP_FCGI_CHILDREN=8
exec /usr/bin/php-cgi

is to aggressive.

In mine case, I had to set PHP_FCGI_CHILDREN to 0 and PHP_FCGI_MAX_REQUESTS to 500.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.