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

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

is what to do if you get a…

Fatal error. The maximum execution time of 30 seconds has been exceeded… What does that mean?

Fatal error: Maximum execution time of 30 seconds exceeded in …” is an error that occurs when PHP processing has been executed for more than 30 seconds.

Since the process is taking longer than 30 seconds, one way to deal with this is to increase the time limit.

max_execution_time = XXX

Increase the time limit. put the following code in php.ini. The time limit will be increased to 180 seconds.

max_execution_time = 180

Or, add the following code to .htaccess

php_value max_execution_time 180

This will increase the time limit for program execution.

summary

I was able to change the timeout to 180 seconds. However, this may put more load on the server because of the increased processing time when executing PHP.

If you get errors due to long execution times, you may want to consider ways to reduce the execution time.