napier_matt Posted October 3, 2008 Share Posted October 3, 2008 Hi All I am currently running a script to upload email addresses into a mysql database. I have included the following two: ini_set('memory_limit', '500M'); AND set_time_limit(0); However after a while it is still timing out? After 4000 entries. I understand that there are Apache settings that might need changing, could anyone advise? Link to comment https://forums.phpfreaks.com/topic/126852-php-time-out/ Share on other sites More sharing options...
AV1611 Posted October 3, 2008 Share Posted October 3, 2008 Don't remember the absolute time limit for a single script but it's kinda short... I did something similar and just had the script loop through in chunks. The limit is a SPECIFIC operation... so push the data up in 1000 line chunks ... the overall speed isn't that much differnet cause php loops pretty fast anyways. Link to comment https://forums.phpfreaks.com/topic/126852-php-time-out/#findComment-656149 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.