If your website shows an error or its pages fail to load, you need to identify the cause of the problem.
The first step is to check the site's error log (error_log).
Open the website's directory.
In the website directory, locate the error_log file.
The error log will show the cause of the 500 error on your website.
PHP Parse error: syntax error, unexpected 'define' (T_STRING) in /home/exampleaccount/public_html/index.php on line 14