Page 1 of 1
how to increase the maximum execution time
Posted: Wed Nov 09, 2011 11:30 pm
by Deepthi_Tanguturi
how to increase the maximum execution time.i modified maximum execution time in php.ini file.But it is not modified.It displays default execution time.Is there any methods.
Re: how to increase the maximum execution time
Posted: Wed Nov 09, 2011 11:43 pm
by social_experiment
Re: how to increase the maximum execution time
Posted: Thu Dec 01, 2011 5:42 am
by Deepthi_Tanguturi
I changed the max_execution_time in php.ini file.i restarted the wampserver.But it does not changed.what is the problem.
Re: how to increase the maximum execution time
Posted: Thu Dec 01, 2011 6:21 am
by social_experiment
I don't know how WAMP works but in xampp there are multiple php.ini files (on my installation at least). The correct one for xampp is located inside apache/bin , maybe wamp works the same way?
Re: how to increase the maximum execution time
Posted: Thu Dec 01, 2011 3:34 pm
by pickle
Run a page with phpinfo();. The output from that will tell you what php.ini file(s) you need to change.
I've found it's usually best to change this limit on a script by script basis. That is, leave it at the default & if you have a page you know will take longer, call set_time_limit() on that particular page.