The 500 Internal Server Error indicates that the server encountered an unexpected problem that prevented it from completing a request made by your web browser. This could be due to a variety of reasons, such as a problem with the website's code, a faulty plugin, or a technical issue with the server itself.
To solve it properly, we suggest enabling PHP error messages first. This way, it will be easier to identify the particular issue.
If nothing changes, and you still see the 500 error after enabling the PHP errors display, try changing the website's PHP version and enabling displayErrors on different versions. Once that’s done you can proceed with the suggestions below 👇
If your website is created with WordPress, refer to this comprehensive tutorial: How to Fix 500 Internal Server Error on WordPress
If your website is created using another CMS (not WordPress), do the following, depending on the error you see:
Call to undefined function: change your PHP version – try all available versions; review the code in the file mentioned in the error
Parse error (Syntax Error): check the file mentioned in the error to see if you can find any syntax errors
Warning Access Denied: double-check database credentials in your website's configuration file
Fatal error, Failed opening required: it means that your site is calling for the file that does not exist – or cannot be executed; check if the file mentioned in the error exists
Depreciated: lower your PHP version; you might need to try all versions before you find the one that suits your website
If you've tried all the solutions mentioned above and the website still doesn’t work, we highly suggest restoring your website from a backup 😊