About set_time_limit (0)

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.