It works on Apache FastCGI module and php7.x-fpm module to make Apache2.4 server to be an event-base server. FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features (mostly) useful for heavy-loaded sites. How to install php7.0-fpm & make Apache server works with it? >> $ vim /etc/apache2/apache2.conf add a ServerName = [DNS or IP] if it is not existed. >> $ apt-get install libapache2-mod-fastcgi php7.0-fpm >> $ a2dismod mpm_prefork (disable apache mpm default mudule) >> $ a2enmod mpm_event (enable apache mpm event module) >> $ a2enmod proxy_fcgi setenvif (important for fpm) >> $ a2dismod php7.0 (VERY important to close php module in Apache) >> $ a2enconf php7.0-fpm (enable the config-file for php-fpm module) >> $ vim /etc/apache2/conf-available/php7.0-fpm.conf >> $ touch /usr/lib/cgi-bin/ php7.fcgi (Add file, php7.fcgi, to directory /usr/lib/cgi-bin) &