how to increase the maximum execution time
Moderator: General Moderators
-
Deepthi_Tanguturi
- Forum Newbie
- Posts: 3
- Joined: Wed Nov 09, 2011 11:24 pm
how to increase the maximum execution time
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.
- social_experiment
- DevNet Master
- Posts: 2793
- Joined: Sun Feb 15, 2009 11:08 am
- Location: .za
Re: how to increase the maximum execution time
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
-
Deepthi_Tanguturi
- Forum Newbie
- Posts: 3
- Joined: Wed Nov 09, 2011 11:24 pm
Re: how to increase the maximum execution time
I changed the max_execution_time in php.ini file.i restarted the wampserver.But it does not changed.what is the problem.
- social_experiment
- DevNet Master
- Posts: 2793
- Joined: Sun Feb 15, 2009 11:08 am
- Location: .za
Re: how to increase the maximum execution time
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?
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
Re: how to increase the maximum execution time
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.
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.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.