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 tak
You can Set maximum execution time in MYSQL / PHP. it's so easy.
To set maximum execution time in single PHP file, place this code just after your first opening php tag.
ini_set(‘max_execution_time’, 0)
To set maximum execution time in php.ini file. You can set as per your require.
max_execution_time=360 //360 seconds = 6 minutes
To set maximum execution time in htaccess file.
php_value max_execution_time 0
You can also read step by step here.