Error 500 - Possible diagnostics and solutions

This article explains the 500 Internal Server Error in Web Hosting services and how to check applications and permissions.

Error message

ERROR 500 — Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

More information about this error may be available in the server error log.

It indicates that the server could not complete the request due to an internal error or a misconfiguration.

Possible causes and solutions

1. Misconfigured .htaccess file

An .htaccess with incorrect rules in the application folder can cause error 500.

  1. Rename the file (for example to .htaccess.bak).
  2. Reload the site. If the error disappears, the problem is in that file.
  3. Check the .htaccess rules (redirects, RewriteRule, disallowed directives) and fix or restore a valid version.

2. Incorrect permissions

The folder or scripts may not have the necessary permissions to execute.

Element Recommended permission
Directories (with scripts) 751 or 755
Files (PHP, HTML, etc.) 644

If you have 777 permissions, reduce them: 777 is insecure and sometimes the server rejects them. Adjust permissions from the panel's file manager or via FTP.

3. Check the error log

If the previous causes do not apply, check the service error log:

  • cPanel: file public_html/error_log or the Errors / Errores section of the panel.
  • Plesk: domain logs under Logs in the panel.

The log usually indicates the file and line originating the error (PHP, permissions, etc.).

Tip: If the error started after installing or updating a plugin, theme, or script, deactivate or revert that change and try again.

Do you need help?

If you cannot identify the cause, contact technical support from the client portal or the site's online chat. Indicate when the error appeared and what changes you made beforehand (updates, new files, etc.).

  • Error 500, internal server error, encountered an internal error, please contact the server administrator, archivo htacess, edicion de permisos en archivos, archivos con permisos, ingreso cpanel
  • 52 Users Found This Useful
Was this answer helpful?

Related Articles

I purchased the service but my domain does not work

This article explains the most frequent causes why a domain does not work and how to check them....

Out of space, how to fix it

This article explains what to do if you run out of space on your contracted Web Hosting service....

Bandwidth limit exceeded, my website is not working

This article explains what the Bandwidth limit exceeded message means and what options you have...

Traceroute and obtaining IP address

This article explains how to perform a traceroute (tracert) and how to obtain the public IP of...

Common issues related to FTP connections

This article describes solutions to frequent problems in FTP connections. The examples use the...