Wednesday, March 24, 2010

[Wamp] Fatal error: Maximum execution time of 300 seconds exceeded

This is caused by the default configuration of wamp server. To modify this, you need to find libraries/config.default.php. You can see all default configurations here. Find the one you need to change; in this case, it should be:

$cfg['ExecTimeLimit'] integer [number of seconds]

Function of the value of this variable:
Set the number of seconds a script is allowed to run. If seconds is set to zero, no time limit is imposed.This setting is used while importing/exporting dump files but has no effect when PHP is running in safe mode.

No comments: