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
maximum execution time for Apache Web Server is 300 seconds (5 min), so if your script is very long you have to options
max_execution_time = (seconds) for example to max_execution_time = 3002.if you scripts need mor than 5 minutes you should first change Httpd.conf file (Apache config file)
TimeOut (number of seconds you want)
and also in php.ini max_execution_time = (number of seconds you want)