[英]fastCgi request timeout vs PHP max_execution_time
I'm running PHP on IIS 7.5 in a Windows Server 2008 machine.我在 Windows Server 2008 机器上的 IIS 7.5 上运行 PHP。
Currently my fastCgi request timeout
is set to 90 seconds in IIS.目前我的
fastCgi request timeout
在 IIS 中设置为 90 秒。
But the max_execution_time
in php.ini
is set to 30.但是
php.ini
的max_execution_time
设置为 30。
What would happen in that case?在那种情况下会发生什么? Will the script crash but the request be kept in the requests queue until it finishes once it reaches 90 seconds ?
脚本是否会崩溃但请求会保留在请求队列中,直到达到 90 秒后完成?
Put the same value on both.将相同的值放在两者上。 Or the max of your multi-site config :
或者您的多站点配置的最大值:
After, in the main php.ini, you can add之后,在主php.ini中,你可以添加
[PATH=C:/inetpub/website1.com/] [路径=C:/inetpub/website1.com/]
max_execution_time = 60最大执行时间 = 60
[PATH=C:/inetpub/website2.com/] [路径=C:/inetpub/website2.com/]
max_execution_time = 200最大执行时间 = 200
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.