FIX for Fatal error: Maximum execution time of XX seconds exceeded

During development or installing some web applications, it might take more time than the max time is allowed to execute php code, if this happens, you will get Fatal error: Maximum execution time of XX seconds exceeded

For example, when installing the e-commence web application Magento, on the configuration step, it might take more than 30 seconds to finish creating the database, but your max_execution_time was set to 30 seconds, so it leads to Fatal error: Maximum execution time of 30 seconds exceeded

To fix this, open up the php.ini file, search for
max_execution_time

if it is
max_execution_time 30

and you want to give it at lease ONE minute of execution time, change it to
max_execution_time 60

Restart the Apache server, or any other server you use.

Search within Codexpedia

Custom Search

Search the entire web

Custom Search