Saturday, August 9, 2014

[SOLVED] Fatal error: Maximum execution time of 30 seconds exceeded

"Fatal error: Maximum execution time of 30 seconds exceeded"

This is the most common problem encountered, this can be overcome by changing certain codes.
For this follow the instruction provided below, hope it will help to solve your problem. 

With regards to the problem, it is with the server configuration PHP configuration. You need to change your max_execution_time PHP variable to a greater value that it is, you can try 90 seconds. If you are on shared host, you can try adding the below given line to your .htcaccess file and check if its works or not:


php_value max_execution_time 90

If not, add below php code to your MAIN ROOT index.php file in the head:

ini_set('max_execution_time', 90);

Also you can follow the steps below:

Browse to C:\wamp\bin\apache\apache2.2.22\bin\php.ini

Find:
post_max_size = 8M
upload_max_filesize = 2M
max_execution_time = 30
max_input_time = 60
memory_limit = 8M

Change to:
post_max_size = 750M
upload_max_filesize = 750M
max_execution_time = 5000
max_input_time = 5000
memory_limit = 1000M

After that restart wamp server to take effect.



No comments:

Post a Comment