Disable the Auto Fix 503 feature

PHP 503 errors are generally PHP crash errors. This is not a LiteSpeed Web Server error. However, for convenience, LSWS provides a feature to auto-fix a 503 error by restarting LSWS. Enabling this feature has advantages and disadvantages.

When random PHP 503 errors happen, this feature can keep the affected  domain alive by auto fixing the errors. However, if the PHP 503 errors happen frequent, across the majority of accounts on a server, LSWS will end up being restarted often. This can lead to a stability issue. In this latter case, fixing the 503 error permanently should be your ultimate goal. You will need to determine which situation you are experiencing, to enable or disable the Autofix 503 feature accordingly.

To turn off the Autofix 503 feature, you can [log into LSWS Admin and change it](https://www.litespeedtech.com/docs/webserver/config/general#autoFix503).

We do provide a comprehensive guide for you to troubleshoot 503 errors, including checking logs, disabling the opcode cache for PHP, increasing PHP memory, changing PHP versions, disabling unsafe extensions, checking disk space, checking LVE memory limits, checking LVE process limits, etc. Please [refer to this guide to troubleshoot and fix the issue](https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:php:503-errors). We use the same guide for our internally 503 error troubleshooting as well .

Regards

  • auto fix, feature, disable, 503, error
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

I can't change php.ini values

Please check the location of loaded php.ini from phpinfo() page, then modify that php.ini as...

Problem with UTF-8 Characters in PHP File

Please add "charset=UTF-8" in the content-type header for those PHP files as below:Content-Type...

503 Error

PHP 503 errors are generally PHP crash errors. Please note, this is not a LiteSpeed Web Server...