Knowledge Base
Troubleshooting 500 errors
A 500 Internal Server Error means the server hit a problem running your site, but does not say what.
Common causes
- A broken
.htaccessfile. Rename it to.htaccess.bakin File Manager and reload the page. - A faulty plugin or theme. In WordPress, rename the
pluginsfolder inwp-contentand try again, then restore it and rename plugins one at a time. - A PHP version that your code does not support, see Changing your PHP version.
- A PHP memory or execution limit reached.
- Wrong file permissions. Folders should usually be
755and files644.
Find the real error
Open the Error log in DirectAdmin under System Info & Files, see Viewing your website statistics. It names the file and line that failed.