PHP maximum execution time
I am downloading a JSON file from an online source and and when it runs through the loop I am getting this error:
Fatal error: Maximum execution time of 30 seconds exceeded in C:\wamp\www\temp\fetch.php on line 24
Your loop might be endless. If it is not, you could extend the maximum execution time like this:
I had the same problem and solved it by changing the value for the param max_execution_time in php.ini , like this:
All the answers above are correct, but I use a simple way to avoid it in some cases.
How to change the maximum execution time for PHP scripts This article describes how to change the maximum execution time for PHP scripts by using the max.
Тэги:PHP settimelimit Manual, PHP maximum execution time A2 Hosting, php Fatal error Maximum execution time of 30 seconds, Maximum execution time of 30 seconds exceeded phpde, ini How to increase maximum execution time in php, How to Fix the Maximum Execution Time Exceeded Fatal Error, php提示Maximum execution time of 30 phpernotecom, WP Maximum Execution Time Exceeded WordPress Plugins, Setting the PHP maximum execution time in an htaccess file,