PHP installation appears to be missing the MySQL extension

Post Reply
nluenoteblue
Posts: 1
Joined: Mon Feb 14, 2022 11:49 pm

I am running into "your php installation appears to be missing the mysql extension which is required by wordpress" when I try to clone a newly installed site (and have encountered this error elsewhere on another iste on the same server).

Running latest version of wordpress. According to my php info file, I have PHP 7.4.29 running on the site although 8 is the default on the server. There is a version number next to Client API library version (mysqlnd 7.4.29), the loaded config file is here: /etc/php/7.4/fpm/php.ini. The extensions_dir is /usr/lib/php/20190902. Looked inside there and see the mysqli.so there. What else to check?

Maybe it possible the php.ini file was overwritten during an update - could that be the issue? If so, is there a way to reinstall the proper myvesta php.ini or is there a version I can use reset the settings?

Thanks for any insight.
Post Reply