windows 下apache安装nts非线程安全的php版本需要的配置

Include conf/extra/httpd-php.conf


httpd-php.conf:

LoadModule fcgid_module modules/mod_fcgid.so

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


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

你可能感兴趣的:(wamp)