Knowledge Base
Error 500 - Internal Server Error
Understanding Error 500
A 500 Internal Server Error is a generic error message indicating something went wrong on the server, but the server couldn't be more specific about the problem.
Common Causes
- .htaccess errors - Syntax mistakes or unsupported directives
- PHP errors - Code issues or memory limits
- Permission problems - Incorrect file/folder permissions
- Plugin conflicts - Especially common with WordPress
Troubleshooting Steps
1. Check Error Logs
In DirectAdmin:
- Go to Error Log under Account Manager
- Look for recent errors with timestamps matching your issue
- The error message will indicate the specific problem
2. Test .htaccess
Rename your .htaccess file temporarily:
- Go to File Manager → public_html
- Rename .htaccess to .htaccess.backup
- Test your site - if it works, the issue is in .htaccess
3. Check File Permissions
Correct permissions should be:
- Folders: 755
- Files: 644
- PHP files: 644
4. Increase PHP Memory (WordPress)
Add to wp-config.php:
define('WP_MEMORY_LIMIT', '256M');
WordPress-Specific
If using WordPress, try disabling plugins via File Manager:
- Navigate to wp-content/plugins
- Rename the plugins folder to plugins.disabled
- Test your site
- If working, rename back and activate plugins one by one