FastCGI

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/mod_proxy.so
LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so

Also add:

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

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

Recent Updates

  • 5 days 8 min ago
    1.27.2 update
  • 2 weeks 2 days ago
    Drupal 10/11 config
  • 2 weeks 3 days ago
  • PHP
    2 weeks 3 days ago
    PHP 8.3.11 and AlmaLinux
  • 2 weeks 4 days ago
    New version of Pound