Articles on: Web Hosting
This article is also available in:

Your site displays a 500 "Internal Server Error"

If you get a 500 error, it means the server encountered a problem while executing your site. Here are the steps to identify and resolve the issue. You will need your developer to help you.


Check the errors in the Apache logs

Apache error logs are accessible directly in cPanel. Here is how to access them:


  1. Log in to your cPanel
  2. Go to the "Metrics" section
  3. Click on "Errors"
  4. This page displays the latest Apache error log entries


Check your .htaccess file

The .htaccess file is often the cause of 500 errors, especially in cases of invalid commands or syntax errors.


You can temporarily rename the .htaccess file to check if it is the cause. If the error disappears, it is a .htaccess issue.


Check PHP errors

A 500 error may be related to a PHP error. Each site has its own error_log file (PHP error log). Here is how to access it:


  1. Log in to your cPanel
  2. Go to "File Manager".
  3. Navigate to the folder of the script causing the issue (e.g., /public_html/)
  4. Open the error_log file if it exists

Updated on: 14/02/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!