FastCGI is a language independent, scalable, open extension to CGI that provides high performance and persistence without the limitations of server specific APIs.

Install PHP per the instructions.

Compile Apache with --enable-proxy-fcgi

Enable the proxy_fcgi and proxy modules in /usr/local/apache/conf/httpd.conf:

LoadModule proxy_module modules/
LoadModule proxy_fcgi_module modules/

Also add:

ProxyPassMatch "^/(.*\.php(/.*)?)$" "unix:/var/run/|fcgi://localhost/usr/local/apache2/htdocs/"

High-performance PHP on apache httpd 2.4.x using mod_proxy_fcgi and php-fpm
Apache Module mod_proxy_fcgi

Recent Updates

  • 7 months 1 week ago
  • 7 months 1 week ago
  • 7 months 1 week ago
    php 8.x
  • 7 months 1 week ago
  • 7 months 1 week ago
    Drop Centos 5/6 stuff