المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : ووردبريس Wordpress حل مشكلة Your PHP installation appears to be missing the MySQL



Rise Company
31-03-2020, 17:27
ووردبريس 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 وقاعدة بيانات الووردبريس

https://www.rise.company/upload/uploads/158566870310362.jpg

حل المشكلة :

هتجد داخل ملفات الموقع ملف 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.


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

https://www.rise.company/upload/uploads/158566870288721.png
How to fix on a cPanel Server

If you are on a cPanel server (https://host4geeks.com/managed-vps) 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:


https://www.rise.company/forum/images/imported/2020/03/23.png
Step 3: You will see a highlighted box “Currently Installed Packages”, click on the ‘customize’ button as shown below:
https://www.rise.company/forum/images/imported/2020/03/24.png
Step 4: Once there, select ‘PHP Extensions’ and in the search box type mysql, you will see the mysqlnd options, as seen below:
https://www.rise.company/forum/images/imported/2020/03/25.png
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:
https://www.rise.company/forum/images/imported/2020/03/26.png
https://www.rise.company/forum/images/imported/2020/03/27.png
Step 7: Once finished, click on done and check your WordPress installation and the error should be gone.

https://www.rise.company/forum/images/imported/2020/03/28.png