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