Execution time error using wamp.
Posted by: Xname (182.185.184.---)
Date: May 16, 2012 01:39PM

Hi,Dear Friends...............I Hope you are all fine.
I am Xname using the wamp server for my php coding.
But here is a problem that wamp server run only for 30 sec.
And after this an erroe popup.
"Fatal error: Maximum execution time of 30 seconds exceeded in C:\wamp\www\folder\test.php on line 10"
Why this error popup.Please help me in solving this problem.
......................THANKS.........................

Options: ReplyQuote
Re: Execution time error using wamp.
Posted by: mattconnolly (175.176.203.---)
Date: May 21, 2012 06:32AM

Use `set_time_limit($timeout);` to extend the execution time of the script.

PHP on windows measures execution time by the wall clock (real time) not actual used CPU time. This can cause scripts that work fine on linux to timeout on windows (e.g., waiting for a network socket, transferring a download, etc).

Options: ReplyQuote


Sorry, only registered users may post in this forum.