I have an XML document that has around 48,000 children (~50MB). I run an INSERT MYSQL query that makes new entries for each one of these children. The problem is that it takes a lot of time due to its size. After it is executed I receive this
Fatal error: Maximum execution time of 60 seconds exceeded in /path/test.php on line 18
How do I set the Maximum execution time to be unlimited?
Thanks
You can make it by setting set_time_limit in you php code (set to 0 for no limit)
Or modifying the value of max_execution_time directly in your php.ini
Or changing it with ini_set()
but note that for this 3rd option :
Source www.php.net