ووردبريس Wordpress حل مشكلة Your PHP installation appears to be missing the MySQL
[How to fix] Your Your PHP installation appears to be missing the MySQL extension?
Your PHP installation appears to be missing the MySQL extension which is required by WordPress
- fix- Your PHP installation appears to be missing the MySQL extension error in WordPress. 2020
- library php-mysqlnd is missing - اصلاح مشكلة php وقاعدة بيانات الووردبريس



حل المشكلة :

هتجد داخل ملفات الموقع ملف php بداخله اعدادات بتعمل دور override على اعدادات السيرفر
do you see a php.ini in the ftp file listing? يجب حذف هذا الملف وهيتم حل المشكلة

سبب المشكلة :

“My site will not connect to my database after upgrading to PHP 7”
Previous versions of PHP offered three PHP APIs for accessing a MySQL database. They were:
mysql
mysqli
PDO_MySQL
PHP 7 has removed support for the mysql extension and affects the following:
Any queries using a mysql_connect function will not function.
PHP 7 only allows connections to a MySQL database using mysqli or PDO_MySQL.
All scripts must be updated in order to continue functioning.


------------------------------------------------------------
فى حالة كان هناك اعدادات غير مفعله من السيرفر فهيتم عمل التالى


How to fix on a cPanel Server

If you are on a cPanel server that you have root access to. You will need to enable and install the MySQL PHP extension using the EasyApache 4 interface in your WHM.
Step 1: Login to your WHM as root.

Step 2: Search for the option “EasyApache 4” & click on it. You will see a page as below:



Step 3: You will see a highlighted box “Currently Installed Packages”, click on the ‘customize’ button as shown below:

Step 4: Once there, select ‘PHP Extensions’ and in the search box type mysql, you will see the mysqlnd options, as seen below:

Step 5: Select the required mysqlnd extension as per your requirement of the PHP versions. You can simply select all the version that are displayed, this will cause no problems.
Step 6: Once you have select the mysqlnd extensions there click on “Review”, scroll down and click on “Provision” button. you will see the page as below:


Step 7: Once finished, click on done and check your WordPress installation and the error should be gone.