On 10/22/2007 4:21:06 PM +0200, Daniel Schlenzig <[EMAIL PROTECTED]> wrote:
> Hello Gabriel,
> 
>> After testing the two methods, I found out that using mod_fcgid without
>> any opcode cache and disabling the PHP tree mode, is far more memory
>> efficient, and does a much better load handling.
> Just to understand it completely, what are the necessary parameters that
> have to be set in the Apache configuration and in the wrapper script?

I personally don't use a wrapper script and configure the needed 
environment variables directly into the apache configuration or inside 
virtualhost configuration (with the DefaultInitEnv directive). With 
mod_fcgid, you only have to set some proper limits for MaxProcessCount , 
MaxClassProcessCount, MinClassProcessCount, and to use either the 
FCGIWrapper or Action method to make php file interpreted as fastcgi 
(see regular documentation on how to do this, with or without suexec, 
there are as many possible cases as server configurations).

> Are you using Apache with the prefork or the worker MPM?

Because PHP is outside the apache memory space, using the worker MPM is 
far far more efficient and totally thread-safe.

Gabriel

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Mod-fcgid-users mailing list
Mod-fcgid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users

Reply via email to