Question about set_time_limit (0? On the iis server, why does set_time_limit (0) in php not work? ------ Solution ------------------ check for several reasons: 1. & nbsp; whether php is running in safe mode. If yes, set_time_limit is invalid. 2. & nbsp; is the IIS server configured with a timeout and has a higher priority about set_time_limit (0?
On the iis server, why does set_time_limit (0) in php not work?
------ Solution --------------------
Troubleshoot for several reasons:
1. whether php runs in safe mode. If yes, set_time_limit is invalid.
2. the IIS server is configured with a timeout value and has a higher priority. even if you set a no-timeout value for php, the server will still perform timeout processing due to the timeout mechanism. Therefore, a fatal error will be triggered after the timeout, this is the cause of 500 error.
Refer to this article: http://www.iisadmin.co.uk /? P = 7