Get 30% off your WordPress Hosting with code WPSAVE10. Launch Faster. Save More!
  • 00 Days
  • 00 Hours
  • 00 Minutes
  • 00 Seconds

Why do I get an Internal Server Error 500 and how to fix it? - SIRSTEVEHQ CP

A white screen or Internal Server Error (error 500) usually means a script used by your website is throwing an exception and/or fatal error. When this happens, it will be logged by our system and you can view recent errors inside the Access/Error Log of our control panel. 

A '500 Internal Server Error' message on your site is frequently due to a mistake in the site file such as a .htaccess file or web.config file.

The first step in troubleshooting this is to check the Access/Error logs. To get these:

  • Login to SIRSTEVEHQ CP
  • Select the package that is showing the internal server error
  • Select Access/Error Logs under the Logs and Stats section

You'll want to look at the ‘Error Logs’ section and see if you can see the file path where the issue is. For example, you may see:

www.yourDomain.com [Tue Sep 05 09:49:41 2017] [alert] [client xx.xxx.xxx.xx:xxxxx] /home/sites/xx/x/xxxxxxxxx/.htaccess

Windows

If you're running a Windows hosting package, don’t forget to recycle the app pool after making any changes to your site configuration. You can do this by logging into the hosting package, selecting ‘Application Pool’ and then selecting ‘Recycle Pool’. Error logs do not show in the control panel on Windows packages.

WordPress

A common cause of an internal server error on WordPress sites is if you are running an incompatible PHP version. Some errors are thrown if the server is running a version of PHP that is not compatible with the website code. We currently support PHP 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3 and 8.4 on our Linux platform. You can switch between all of these versions using the 'Switch PHP Version' icon inside the control panel

If you're running WordPress, you should check if your WordPress admin area is still accessible. This is usually accessible by visiting http://your-domain.com/wp-admin.

If it is, we'd recommend disabling each plugin and theme and revisiting the site in turn to try and identify the root cause.

Also, if your website is on our WordPress hosting platform, please note that this platform only allows PHP 7 and higher. While WordPress core is compatible with all those PHP versions, certain plugins and themes may not be. If so, we recommend hosting the website on our Cloud hosting platform. You can automatically migrate packages from WordPress to Cloud by contacting our Support Team.

Sometimes the internal server error may occur if you are exhausting the PHP memory limit. You can increase this by:

  1. Logging in to SIRSTEVEHQ CP
  2. Select PHP Configuration
  3. Scrolling down until you see memory_limit. Change this to 1024M, and select Update PHP Configuration
  4. Retry the page that was showing an internal server error by refreshing using CTRL + SHIFT + R. If this did not work then you should set the memory limit back to 512M
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How can I identify a SIRSTEVEHQ CP phishing email?

Recently, we’ve noticed an increase in the number of phishing emails targeting our customers....

How do I set up Automatic Timeline Backups? - SIRSTEVEHQ CP

With our Timeline Backups product, automatic snapshots of your website files and databases are...

What is HTTP Keep-Alive? - SIRSTEVEHQ CP

HTTP Keep-Alive, also known as HTTP persistent connection, is a mechanism used to maintain an...

How can I clone a site with Timeline Backups? - SIRSTEVEHQ CP

Timeline Backups allow you to restore data between hosting packages, making them an ideal tool to...

Should I transfer my site to the WordPress platform? - SIRSTEVEHQ CP

Yes - absolutely, to get the best performance from a WordPress site it's best to transfer it to...