我有一个在IIS 7上运行PHP 5.3的网站。我从PHP
得到以下错误Fatal Error: Maximum Execution Time of 10 seconds exceeded
我检查了PHP.ini文件,它被设置为300。我已经检查了IIS CGI ->超时,它被设置为300。我检查了脚本中包含的所有文件,是否有任何覆盖的ini_set调用,set_time_limit调用,没有。
这个10秒的限制从何而来?有人知道吗?
我检查了phpinfo(),它显示的值为600。
在web配置中试试:
<system.web>
<httpRuntime executionTimeout="200" />
</system.web>