How to Fix 520 internal server error in php

How to fix 520 internal server error in php

looks more like a custom error. I am not aware of a HTTP 520 status code. although the description would match a HTTP 500.

anyways, this could be anything. ranging from a PHP fatal error to a misconfigured web server. even a custom error handling were possible.

Error 520 means your server is down. Most likely a CloudFlare server. Error 500 though means your configuration has wrong syntax in there. Check your .htaccess to make sure you spelled everything right and didn’t just put PHP codes inside your .htaccess file.

for CloudFlare, see https://support.cloudflare.com/hc/en-us/articles/200171936-Error-520

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.