Author - StudySection Post Views - 39 views
upgrade-php-version

How to upgrade the PHP version of a WordPress website?

In the past, we have upgraded our company site PHP version. There are some steps that need to be followed for upgrading the PHP site version.

Upgrading PHP Version of a site:

  1. Firstly You need to check your current PHP version.

    For that follow these steps:

    1. Login to your https://www.one.com/ account.
    2. Click on the advanced settings and then click on PHP and Database settings.
    3. Scroll down to Update PHP version and check the current version.
      See the following screenshot for that:

      php-01

  2. Update the WordPress version and themes to the newest.

    1. Login to your WordPress admin account.
    2. Open the dashboard and check if any updates of themes, plugin or WordPress version is needed then update them to the newest.
    3. Check that currently, you are using the updated version of WordPress, WP themes, and plugin
      See the following screenshot for that:

      php-02

  3. Install the plugin ‘PHP compatibility checker’ that will check that all plugins, themes, and WordPress versions are compatible with the required PHP version.

    For installing the plugin follow these steps:

    1. Open the dashboard and go to plugins.
    2. Click on the Add new plugin and type PHP compatibility checker in the search box and add that.
    3. After that activate the plugin.
  4. Run a scan with that plugin and fix the potential issues

    After activation of the plugin run a scan with that PHP compatibility tool. It will check all plugins, themes, and WordPress versions whether it is compatible or not. After the scan, it will give a report. You can have three results:

    • Compatible = all is well!
    • Warning = it should work, but may give problems with the next PHP version.
    • Error = not working well will likely cause problems after updation.

    After scanning if there is error and warnings for some plugins and themes you have to fix that before proceeding further. After fixes the tool gives the compatibility messages like this:

    php-03

  5. Update PHP to the latest version:

    After scanning Go to https://www.one.com/ control panel and follow these steps:

    1. Go to PHP and database settings in the control panel.
    2. Scroll down to PHP error messages and set it to on.
    3. After that click update and change the version from 7.1 to 7.3

    See the following screenshot for that:

    php-04

  6. Verify that the website works well with the upgraded PHP version:

    After updating check that your site working is the same as previous. Make sure the site is not broken.

Knowledge of .NET is quite rewarding in the IT industry. If you have got some skills in the .NET framework then a .NET certification from StudySection can prove to be a good attachment with your resume. You can go for a foundation level certificate as well as an advanced level certificate in the .NET framework.

Leave a Reply

Your email address will not be published. Required fields are marked *