Include conf/extra/httpd-php.conf
httpd-php.conf:
LoadModule fcgid_module modules/mod_fcgid.so
<IfModule fcgid_module>
Include conf/extra/httpd-fcgid.conf
FcgidInitialEnv PHPRC "D:/php/php-7.0.12-nts/"
AddHandler fcgid-script .php
FcgidWrapper "D:/php/php-7.0.12-nts/php-cgi.exe" .php
</IfModule>
httpd-fcgid.conf:
FcgidIOTimeout 384
FcgidConnectTimeout 360
FcgidOutputBufferSize 128
FcgidMaxRequestsPerProcess 1000
FcgidMinProcessesPerClass 0
FcgidMaxProcesses 16
FcgidMaxRequestLen 268435456
ProcessLifeTime 360
FcgidInitialEnv PHP_FCGI_MAX_REQUESTS 1000
本文介绍了如何通过配置httpd-php.conf及httpd-fcgid.conf文件实现PHP与Apache服务器的集成。主要内容包括设置PHP模块加载、定义PHP运行环境、配置FastCGI参数等。
381

被折叠的 条评论
为什么被折叠?



