

We can do this using the following command: # yum update We need to install the PHP-MySQL extension for PHP 7.0. Will show you the PHP Version you are currently running. Your first step would be to check the PHP version that you are running. If you are running your WordPress site on a CentOS VPS without any kind of control panel. Step 7: Once finished, click on done and check your WordPress installation and the error should be gone. Step 6: Once you have select the mysqlnd extensions there click on “Review”, scroll down and click on “Provision” button. You can simply select all the version that are displayed, this will cause no problems. Step 5: Select the required mysqlnd extension as per your requirement of the PHP versions. Step 4: Once there, select ‘PHP Extensions’ and in the search box type mysql, you will see the mysqlnd options, as seen below: Step 3: You will see a highlighted box “Currently Installed Packages”, click on the ‘customize’ button as shown below: Step 2: Search for the option “EasyApache 4” & click on it. You will need to enable and install the MySQL PHP extension using the EasyApache 4 interface in your WHM. If you are on a cPanel server that you have root access to. All of Stromonic’ web hosting plans already come with this feature enabled. Note: If your cPanel does not have the Select PHP Version option, you will have to contact your web hosting provider to have it enabled for you. Step 5: Check your WordPress installation and the error should be gone. Step 4: Once you have selected the PHP version as current, tick on the option that says “mysqli” and/or “mysqlnd” from the options presented and click save. Step 3: Once there, change the PHP version to Current from the dropdown as shown below. Step 2: Look for the option “Select PHP Version” & click on it.
