Many web production systems because of compatibility issues base on Apache2 backend and Nginx frontend servers. This solution gives a good known and configurable environment for all out of the box web products. The simplest method is installing an apache2-mpm-prefork with mod-php5 module. Unfortunately this solution has very poor performance. How to increase the performance of that system? Use CGI version of PHP and fcgi module instead of mod-php5. What you have to do on Debian?
Install apache apache2-mpm-worker and libapache2-mod-fcgid:
# apt-get install apache2-mpm-worker libapache2-mod-fcgid Continue Reading