Back to PHP (Applications and Scripts)

How To Troubleshoot PHP Upgrade Issues


WestHost has upgraded from PHP 5.6 to PHP 7.0. This upgrade, while more secure and advanced, has been known to cause compatibility issues resulting in 500 and MySQL errors on some sites. If you encounter an issue on your site, please try the following methods to resolve those errors.


Method 1: Update WordPress Version, Plugins, and Themes

If you are a WordPress user, you will need to upgrade to the newest version of the WordPress Platform. You will also need to update any themes or plugins you have added to your site.

To do so, please follow the steps below:

  1. Open the WordPress Dashboard.

  2. Click the “Dashboard” tab.

3. You will see any necessary updates displayed next to the “update” flyout menu. Click it if there is a number in red.

4. Select all the plugins that have newer versions and click “Update Plugins”

5. Follow the same steps to update your themes.

 

6. Check at the top of this page to verify that your WordPress version is up to date. If it isn’t, update it.

Method 2: Update Joomla And Drupal

If you use any other website platform, you will need to update it to the latest version.

For Joomla, the instructions can be found on their website.

For Drupal, the instructions are on their site. 

Method 3: Revert to PHP 5.6 To Resolve Any Compatibility Issues

If your website still has issues after updating, you may need to revert to the previous PHP version to fix the compatibility issues; however, you may only revert to PHP 5.6 up until one month after the date of the initial upgrade.  You can do this from inside cPanel. Follow the steps below after logging into cPanel.

  1. Navigate to the MultiPHP Manager section of cPanel.

  1. Select the box next to the domain for which you want to change the PHP version.

  2. Select “ea-php56” from the PHP Version dropdown menu and click “Apply.”


Remember, you will only be able to revert to PHP 5.6 for one month after your upgrade date. After which, PHP 7.0 will be the only version option.



Related Articles

Can I Enable PHP Allow_url_include On My Account
Can I Increase The PHP post_max_size Setting
Can I Modify My Suhosin Settings With A Local php.ini File
Can I Utilize PHP Shell Exec Functions
Common php.ini Changes

Can’t Find what you need?

No worries, Our experts are here to help.