60 second timeouts
Posted: Tue Aug 26, 2008 9:02 am
I am trying to load many thousands of html files into a MySQL database with PHP on my local server, but I am consistently timed out at 60 sec.
I read in a PHP forum that if I set the max execution time from 60 sec to 0 in the PHP.ini file, the execution time would be unlimited. I found 6 PHP.ini files on my local server (xampp) and changed all the max execution times to 0.
But I still get the time out. Did I miss some ini files or does this not work to eliminate the 60 sec time out?
Is there another way (or any way) to do it?
The HTML data loads just fine into the database, but the script times out. I want to run the script until it is done, which will take a number of minutes - I have ~60,000 files to load.
Regards,
Bill Schaepe
I read in a PHP forum that if I set the max execution time from 60 sec to 0 in the PHP.ini file, the execution time would be unlimited. I found 6 PHP.ini files on my local server (xampp) and changed all the max execution times to 0.
But I still get the time out. Did I miss some ini files or does this not work to eliminate the 60 sec time out?
Is there another way (or any way) to do it?
The HTML data loads just fine into the database, but the script times out. I want to run the script until it is done, which will take a number of minutes - I have ~60,000 files to load.
Regards,
Bill Schaepe