use*_*398 4 php performance fastcgi
大约 90 秒后,我在 apache 错误日志中看到此错误。我假设我需要增加 PHP 中的一项设置,但我不确定要更改哪一项。
我可以增加一项设置来清除此错误吗?
在你的文件中找到php.ini类似这样的内容:
; Maximum execution time of each script, in seconds
; http://php.net/max-execution-time
; Note: This directive is hardcoded to 0 for the CLI SAPI
max_execution_time = 600
; 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.
; Note: This directive is hardcoded to -1 for the CLI SAPI
; Default Value: -1 (Unlimited)
; Development Value: 60 (60 seconds)
; Production Value: 60 (60 seconds)
; http://php.net/max-input-time
max_input_time = 600
Run Code Online (Sandbox Code Playgroud)
编辑值,重新启动 apache,就完成了。
| 归档时间: |
|
| 查看次数: |
31711 次 |
| 最近记录: |