Maximum execution time of 30 seconds exceeded

Error : Maximum execution time of 30 seconds exceeded in Magento.
Solution: You need to increase your maximum execution time for php scripts on your server. You can edit your php.ini file to increase this value
max_execution_time = 600
or
You can try adding the following line at the start of your file on which you are facing error.
For example : /home/username/public_html/estore/app/code/core/Zend/Cache/Backend/File.php
set_time_limit(180);
Done

2 Thoughts to “Maximum execution time of 30 seconds exceeded”

  1. Anon

    set_time_limit(180); worked for me using Magento 1.3 Thanks!

  2. The first solution worked for me
    Magento 1.7

Leave a Comment