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? Quote Link to comment 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.