I have an apache server with PHP5 installed on a Windows Xp service pack2. I am having problem with loops that executes above 60sec. I changed max_execution_time in my php.ini file from 60 to off and i still encounter the same problem when I try to loop with while or for, the execution times out with an error that Maximun Execution Time of 60seconds exceeded.
What Can I do to solve this problem
Problem with max_execution_time
Moderator: General Moderators
-
magosla2001
- Forum Newbie
- Posts: 20
- Joined: Sat May 20, 2006 8:54 am
Check Configuration File (php.ini) Path in your phpinfo() output. Did you change the right file? And did you restart the webserver?
There's also set_time_limit which you can call in each loop iteration (except when in safe mode).
There's also set_time_limit which you can call in each loop iteration (except when in safe mode).
Code: Select all
set_time_limit(0); //unlimitedSet Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
-
magosla2001
- Forum Newbie
- Posts: 20
- Joined: Sat May 20, 2006 8:54 am