The scope of this article is to discuss the possible configurations with Apache httpd 2.2 and php. Using mod_php in most cases is not a viable solution, since it introduces scalability issues with the added RAM requirement for each httpd process. Additionally, it precludes the use of threaded MPMs since php extensions are not thread-safe in many cases.

The ideal configuration is a light threaded httpd process that communicates with an external fastcgi server, such as PHP-FPM.

The first recipe uses mod_fastcgi:

Thanks to Guillaume Seigneuret for the kickstart on that recipe!

php-fastcgi (last edited 2014-03-15 00:05:52 by thumbs)