PHP fastcgi MaxRequestLen设置请求最大值(上传允许最大值)
日志:mod_fcgid: HTTP request length 132391 (so far) exceeds MaxRequestLen (131072), referer: ***
<IfModule mod_fcgid.c>
AddHandler fcgid-script .fcgi .php
FcgidInitialEnv PHPRC "C:/web_soft/php"
FcgidInitialEnv PHP_FCGI_MAX_REQUESTS 1000
FcgidMaxRequestsPerProcess 1000
FcgidMaxProcesses 15
FcgidIOTimeout 120
FcgidIdleTimeout 120
FcgidWrapper "C:/web_soft/php/php-cgi.exe" .php
AddType application/x-httpd-php .php
MaxRequestLen5242880
</IfModule>
页:
[1]