News Ticker

[Solved] Fatal error - Maximum execution time exceeded - HTTP Error 500 Internal server error

By Ajay Verma - Monday 9 November 2015 No Comments
Hello friends, today i am going to provide all possible solution to fix "Fatal error - Maximum execution time exceeded" which cause HTTP Error 500 Internal server error.
Follow below mentioned steps whenever you encounter above problem.
Step 1: Analise cause of 500 error- there are several reason of 500 error, like

  • Syntax or coding errors in your CGI/Perl script

  • Error with an .htaccess file

  • PHP Coding Timing Out



Login to server/cpanel or you can also use any ftp client and open log file.
you can easy understand the cause of this error, in my case log was Fatal error - Maximum execution time exceeded.
Step 2: Increase Max Execution Time- there the three ways to do this

  • Edit Configuration file of application (ie for wordpress edit Wp-config.php file)
    Add these line at the end of codes,set_time_limit(60);

  • Using .htaccess fileJust open the .htaccess file and add below line
    php_value max_execution_time 120

  • Using php.ini file Edit the php.ini file and add following code into that.
    max_execution_time = 120;



Hope this article will help you, in solving above error :)
if you need any other server configuration, hosting related problem i am here to help you.

No Comment to " [Solved] Fatal error - Maximum execution time exceeded - HTTP Error 500 Internal server error "