# Various default settings Include conf/extra/httpd-default.conf 将注释去掉 Include conf/extra/httpd-fcgid.conf 添加此行
更改httpd-default.conf如下内容
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
# Timeout: The number of seconds before receives and sends time out. # Timeout 3600 # # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to "Off" to deactivate. # KeepAlive On # # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # MaxKeepAliveRequests 0 # # KeepAliveTimeout: Number of seconds to wait for the next request from the # same client on the same connection. # KeepAliveTimeout 3600
更改php.ini如下内容
1 2 3 4
max_execution_time = 3600 ; Maximum amount of time each script may spend parsing request data. It's a good ; idea to limit this time on productions servers in order to eliminate unexpectedly ; long running scripts.