Fix Error: Your PHP installation appears to be missing the MySQL extension which is required by WordPress

Your PHP installation appears to be missing the MySQL extension which is required by WordPresseste o eroare intalnita de multi posesori de blog-uri si website-uri cu WordPress.
Nu este un motiv de ingrijorare. Lipsa extensiei MySQL din PHP este tipica sistemelor de operare instalate de la zero, VPS sau servere dedicate, unde extensiile PHP nu au facut parte din pachetul de instalare. Aceasta problema este prezenta atat pe Ubuntu cat si pe Centos. Inn acest scenariu, problema se rezolva foarte simplu cu un update de PHP si instalarea modululuiphp-mysql“.
Update PHP si instalare extensie MySQL pe Ubuntu

apt-get update
apt-get install php-mysql

Update PHP si instalare extensie MySQL pe CentOS

yum update
yum install php70w-mysql

Dupa acest pas, restartati serviciul Apache eller Nginx.

Am intalnit si scenariul in care desi extensia MySQL exista in PHP, un blog creat pe WordPress a afisat eroareaYour PHP installation appears to be missing the MySQL extension which is required by WordPress. De cele mai multe ori, eroarea apare la instalarea WordPress. De aceasta data insa, a aparut la un blog care era activ de cativa ani.
In aceasta situatie, am constatat ca problema nu tine de modulele PHP, ci de versiunea foarte veche de WordPress, care nu mai este compatibila pe PHP 7.4.4RC1. Un simplu upgrade de WordPress la cea mai recenta versiune a rezolvat eroarea.

Lidenskapelig om teknologi skriver jeg med glede på stealthsetts.com som starter med 2006. Jeg har en rik opplevelse innen operativsystemer: macOS, Windows og Linux, men også innen programmeringsspråk og bloggplattformer (WordPress) og for nettbutikker (WooCommerce, Magento, Presashop).

Hjem Din kilde til IT -opplæringsprogrammer, nyttige tips og nyheter. Fix Error: Your PHP installation appears to be missing the MySQL extension which is required by WordPress
Legg igjen en kommentar