livewirerules Posted March 23, 2010 Share Posted March 23, 2010 Can anyone tell how to Disable Maximum execution time in PHP? although i have set it to 3000 seconds it still stops at 60 seconds? Any help how to disable the time limit? Quote Link to comment https://forums.phpfreaks.com/topic/196207-disable-maximum-execution-time/ Share on other sites More sharing options...
cs.punk Posted March 23, 2010 Share Posted March 23, 2010 Just a thought. Make sure your updating php.in in \apache\bin .. Quote Link to comment https://forums.phpfreaks.com/topic/196207-disable-maximum-execution-time/#findComment-1030371 Share on other sites More sharing options...
dooper3 Posted March 23, 2010 Share Posted March 23, 2010 Things to try: 1) How are you setting it? You should be using: set_time_limit(3000); or set_time_limit(0); 2) Is PHP running in safe mode? If so disable safe mode first otherwise there will be no effect. 3) I believe - though I may be wrong! - that you can only set this variable inside your php.ini file. Doing it in the script may not work. 4) Did you restart your web server (apache?!) after you modified php.ini (if you did)? If you didn't then the new settings may not be loaded. Quote Link to comment https://forums.phpfreaks.com/topic/196207-disable-maximum-execution-time/#findComment-1030379 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.