mod_fcgid 介绍
mod_fcgid 是一个 mod_cgi 和 mod_cgid 的高性能替代产品,特别适合 PHP 开发者。提供了跟进程中的 mod_php
同样能够的性能表现。
示例配置:
`# FcgidMaxRequestsPerProcess should be <= PHP_FCGI_MAX_REQUESTS
The example PHP wrapper script overrides the default PHP setting.
FcgidMaxRequestsPerProcess 10000
Uncomment the following line if cgi.fix_pathinfo is set to 1 in
php.ini:
FcgidFixPathinfo 1
Alias /phpapp/ /usr/local/phpapp/
AddHandler fcgid-script .php
Options +ExecCGI
FcgidWrapper /usr/local/bin/php-wrapper .php
Customize the next two directives for your requirements.
Order allow,deny
Allow from all
`