How does an infinite loop [closed]

-3

How do I handle the exception below:

Fatal error: Maximum execution time of 30 seconds exceeded in ...

    
asked by anonymous 12.10.2014 / 23:47

1 answer

2

You can resolve this using PHP's set_time_limit function. Just pass the timeout of running a script, in seconds.

This has nothing to do with the browser. The lock does not happen there, but on your server. The default timeout is 30 seconds. When it is exceeded, this error occurs. Alternatively, you can change the "max_execution_time" in php.ini.

    
13.10.2014 / 00:39