mod_fcgid 是一个 mod_cgi 和 mod_cgid 的高性能替代产品,特别适合 PHP 开发者。提供了跟进程中的 mod_php 同样能够的性能表现。
示例配置:
`# FcgidMaxRequestsPerProcess should be <= PHP_FCGI_MAX_REQUESTS
FcgidMaxRequestsPerProcess 10000
Alias /phpapp/ /usr/local/phpapp/ AddHandler fcgid-script .php Options +ExecCGI FcgidWrapper /usr/local/bin/php-wrapper .php
Order allow,deny Allow from all `