Introduction

WordPress is a steady stage. In any case, perhaps the most widely recognized blunders is "Your PHP establishment gives off an impression of being feeling the loss of the MySQL augmentation which is needed by WordPress." This happens when your site's PHP code isn't viable with the PHP variant the site is running on.


Essentials

  • Admittance to the worker that has the WordPress establishment (nearby or SSH)

  • A client account with sudo advantages

  • Admittance to an order line/terminal window (discretionary)

  • A bundle supervisor (like yum or able)

In the event that you have gotten the "Your PHP establishment has all the earmarks of being feeling the loss of the MySQL expansion which Is needed by WordPress" blunder, at that point this instructional exercise will actually want to help you fix that. This mistake is set off when the PHP code in your site isn't viable with the form of PHP your WordPress site is presently utilizing.

All the more explicitly, this issue is identified with the obsolete MySQL expansion which was eliminated as of PHP 7.0. In this instructional exercise, we will help you fix the issue with the PHP missing MySQL expansion blunder, and help you complete the WordPress establishment effectively.

Missing a PHP augmentation isn't something you ought to be stressed over. In the event that you see the accompanying message on your screen when attempting to get to the WordPress establishment through an internet browser, at that point you are one of the numerous WordPress clients dealing with a similar issue. This article helps you that how Your Php Installation Appears To Be Missing The Mysql Extension Which Is Required By Wordpress.


Chapter by chapter guide

1. Associate through SSH and check the PHP form

2. Make Info.php record

3. Update the necessary bundles

4. Restart the Web Server

5. Update PHP

6. Search all the accessible bundles containing MySQL

7. Restart Apache

1. Associate through SSH and check the PHP form

To fix the issue, you ought to have an SSH admittance to the worker. Associate with your Linux VPS through SSH and check the PHP variant which is as of now being used:

php - v

2. Make Info.php record

You can likewise check the PHP form by making a basic info.php document in your public_html registry with the accompanying substance:

<?php phpinfo(); ?>

When you make the document, open your #1 internet browser and access the record.


3. Update the necessary bundles


On the off chance that you are running a Ubuntu VPS and PHP 7, run the accompanying orders:

well-suited get update

adept get introduce php7.0-mysql

Introducing a later form of PHP and the PHP MySQL augmentation should assist you with dodging the "PHP establishment is feeling the loss of the MySQL expansion" blunder.


4. Restart the Web Server


At that point restart your Apache administration for the progressions to produce results, or in the event that you are utilizing Nginx + PHP-FPM, restart the PHP-FPM administration.


5. Update PHP


In the event that you are running PHP 5, run the accompanying orders:

able get update

able get introduce php-mysql


6. Search all the accessible bundles containing MySQL


To look through all the accessible bundles containing MySQL, you can utilize this order:

able store search MySQL

Then again, on the off chance that you are running a CentOS VPS and you have PHP 7 introduced on the worker, at that point run the accompanying orders to fix the issue:

yum update

yum introduce php70w-MySQL


7. Restart Apache


Restart Apache or the PHP-FPM administration in the event that you are utilizing Nginx + PHP-FPM as a web worker.

In the event that you have PHP 5 introduced on your CentOS worker, run the accompanying orders:

yum update

yum introduce PHP-MySQL

Restart the suitable help for the progressions to produce results.