Skip to content
Free website migration on every plan, done by our team.Learn more ›
Performance

How to fix a 500 Internal Server Error

Fix a 500 Internal Server Error: read the error log, then check .htaccess, PHP errors, file permissions, the PHP version and resource limits.

Short answer: A 500 error means the server hit a problem it couldn't describe to the browser. The usual causes are a broken .htaccess file, a PHP error in a plugin or script, wrong file permissions or a resource limit. The error log tells you which one in seconds.

Step 1: Read the error log

In cPanel, open Errors or the error_log file in your site's folder. The newest lines point to the cause. This one step saves most of the guesswork.

Step 2: Test the .htaccess file

A single typo in .htaccess breaks the whole site. In File Manager, rename .htaccess to .htaccess-old and reload the page.

  • If the site works, the file was the problem. For WordPress, go to Settings → Permalinks and click Save to create a fresh one.
  • If not, rename it back.

Step 3: Look for PHP errors

A plugin, theme or script with a fatal error can cause a 500. In WordPress, disable plugins by renaming the plugins folder, as described in fixing the white screen.

Step 4: Check file permissions

Folders should normally be 755 and files 644. Files set to 777 are a security risk, and some servers refuse to run them, which can also trigger a 500.

Step 5: Check PHP version and limits

Still stuck?

If the log mentions the server itself, or you can't find a cause, contact your host. AuroxHost support can look at server-side logs you can't see.

Frequently asked questions

Is a 500 error my fault or the host's?

Most 500 errors come from the website's own files or settings. Server-wide problems are rarer and usually affect many sites at once.

Does a 500 error hurt SEO?

A short one doesn't. Errors that last for days can lead search engines to drop pages, so fix it quickly.

What's the difference between 500, 502 and 503?

500 is a general server error, 502 means a gateway got a bad response from another server, and 503 means the service is temporarily unavailable, often during overload or maintenance.

Ready when you are

Host it where it performs

NVMe speed, offshore privacy and a written SLA — live in minutes on AuroxHost.