Articles in this section

Website configured on Plesk server shows Error 504: Maximum execution time of 30 seconds exceeded

Plesk for Windows Plesk for Linux kb: technical ABT: Group A

Applicable to:

  • Plesk for Linux
  • Plesk for Windows

Symptoms

  • CMS-based website is showing 504 Gateway Time-out error

  • Website loading endlessly

Cause

Insufficient PHP max_execution_time value. The following errors may be found in Domains > example.com > Logs:

CONFIG_TEXT: PHP Fatal error: Maximum execution time of 30 seconds exceeded in C:\Inetpub\vhosts\example.com\httpdocs\wp-includes\wp-db.php on line 2007

Resolution

  1. Log in to Plesk GUI

  2. Increase the max_execution_time in Domains > example.com > PHP Settings:
    ex.PNG

Note: If increasing value does not help, contact website developers to investigate website code.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.