fread timeout with ‘mod_fcgid: read timeout from pipe’

2016年4月21日 由 Creater 留言 »

fread timeout with ‘mod_fcgid: read timeout from pipe’


FcgidIOTimeout 1200
FcgidConnectTimeout 1200
FcgidBusyScanInterval 1200
FcgidBusyTimeout 1200
FcgidErrorScanInterval 1200
FcgidIdleScanInterval 1200
FcgidIdleTimeout 1200

FcgidProcessLifeTime 3600
FcgidZombieScanInterval 1200


AddHandler fcgid-script .fcgi .php
# Where to look for the php.ini file?
FcgidInitialEnv PHPRC “d:/wamp2.3/bin/apache/apache2.3.14/bin”
# Set PHP_FCGI_MAX_REQUESTS to greater than or equal to FcgidMaxRequestsPerProcess
# to prevent php-cgi process from exiting before all requests completed
FcgidInitialEnv PHP_FCGI_MAX_REQUESTS 1000
# Maximum requests a process should handle before it is terminated
FcgidMaxRequestsPerProcess 1000
# Maximum number of PHP processes
FcgidMaxProcesses 15
# Number of seconds of idle time before a php-cgi process is terminated
FcgidIOTimeout 1200
FcgidIdleTimeout 1200
#Path to php-cgi
FcgidWrapper “d:/wamp2.3/bin/php/php5.4/php-cgi.exe” .php
# Define the MIME-Type for “.php” files
AddType application/x-httpd-php .php



你必须 登陆 方可发表评论.