How to Fix '503 Service Unavailable' Error

If you're seeing 503 Service Unavailable errors, this means PHP processes are crashing while executing a script. As a result, Apache is not getting a valid response from PHP and considers the PHP-FPM service to be unavailable.

The most common cause of this problem is buggy PHP code, such as buggy WordPress plugins or slow scripts. The best solution is to disable all WordPress plugins and check your app's PHP error log and PHP slow log.

This problem can also be caused by buggy third-party PHP extensions or your server running out of memory.

For more information on resolving this error, see the article on fixing the 'Failed to read FastCGI header' Apache error.

Alert: For Control Panel Help & Tutorials, click here: Panel Tutorials
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Fix '403 Forbidden' Errors

The error "403 Forbidden" comes from the Apache web server when either a directory was...

How to Fix '500 Internal Server Error'

The message "500 Internal Server Error" comes from the Apache web server. The most common cause...

How to Fix 'Failed to read FastCGI header' Apache Error

If you see the error "Failed to read FastCGI header" in your app's Apache error log file at...

How to Fix Apache Error 'server reached MaxRequestWorkers setting'

If you see the following message in your Apache error log: server reached MaxRequestWorkers...

How to Fix PHP 'zend_mm_heap corrupted' Error

If you see the error zend_mm_heap corrupted in the global PHP-FPM error log file at...