Knowledgebase Fix the "504 Gateway Time-out" Error When Installing Plugins

Fix the "504 Gateway Time-out" Error When Installing Plugins

WordPress, Troubleshooting 47 Was this answer helpful? Print

Some modern WordPress plugins take a while to run, and if the hosting panel's PHP time limit is too low you may see:

Update failed: 504 Gateway Time-out (nginx)

The 504 timeout error

Increase the PHP execution time

  1. Log in to your hosting control panel.
  2. Go to Domains → your-domain.com → PHP Settings.
  3. Set max_execution_time higher than the default. For example, the default is 30 seconds — try 120, and if it still times out, 400.

Set max_execution_time in PHP Settings

  1. Click OK and apply the changes.

Was this answer helpful?

Related Articles