Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Memory usage Apache + PHP as module versus FastCGI
May 26, 2008 @ 08:42:48

In this quick post to the ApacheLounge forum, Steffen shares some stats running PHP in two different methods of running PHP on Apache - mod_php and fastcgi.

With PHP as module after some time the memory usage of Apache is growing and growing up to ~800M.
With mod_fcgid is stays on a steady ~100M
PHP configuration: only with the extension php_mysql.dll and eaccelerator.dll

A graph of the statistics is also provided.

tagged: apache memory usage fastcgi compare graph