Skip to content
Happy New Year 2027 from ZenexCloud
ZenexCloud
Hosting

How do I fix a 500 Internal Server Error?

Common causes of a 500 error on cPanel hosting and how to find and fix them.

A 500 error means something on the server broke while loading your page. It is usually caused by your site's code or settings.

Check in this order

  1. Look at the error log. In cPanel open Errors (recent errors), or look for error_log in your site folder. The message tells you the file and line.
  2. Test your .htaccess. In File Manager, rename .htaccess to .htaccess-old. Reload the site. If it works, the file had a bad rule. For WordPress, go to Settings > Permalinks and click Save to rebuild it.
  3. Check the PHP version. An old plugin may not support a new PHP. See "How do I change the PHP version?". Switch back and test.
  4. Disable plugins. In File Manager rename wp-content/plugins to plugins-old. If the site loads, rename it back and re-enable plugins one by one.
  5. Check file permissions. Folders 755, files 644.
  6. Check resources. Memory or process limits can cause a 500. See "What are resource limits?".
  7. Restore from backup if a recent change broke it. See "How do I back up and restore my hosting account?".

Still stuck? Open a ticket with the page address, the time of the error and the last line from the error log. This helps us help you faster.

Still need help?

Ask Zeni in the chat bubble, or open a support ticket. We answer 24/7.