Set maximum execution time in MYSQL / PHP
问题 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 回答1: You can make it by setting set_time_limit in you php code (set to 0 for no limit) set_time_limit