Error mysqlnd installed but error on page

After install the next warning however mysqlnd is installed.
Help is appreciated.

Warning: Undefined constant MYSQLI_OPT_INT_AND_FLOAT_NATIVE. Make sure you enabled the PHP extension mysqlnd which is the recommended driver since PHP 5.4 instead of libmysql. in ~/includes/library/lib_database.inc.php (Line 23)

No unfortunately,  libmysql is not active.
Running PHP 8.0

tim

It is. Uncheck mysqli and check nd_mysqli.

Then it'll will not work for me, there's also a Wordpress installation on the same server, this needs mysqli.
Will see to install Litecart elswhere.

Thanks for your time.

tim

nd_mysqli is mysqli compiled with the native driver.
mysqli is the old mysqli that uses libxml that was deprecated soon 8 years ago.
cPanel just had to name these confusingly. 😁

Well, what my experience is.
If I de-activate mysqli, Wordpress isn't working anymore.
Or should I change in WP the mysqli to nd-mysqli in setting?

Will try, let's see...

tim

I'm no wordpress specialist. But I find it odd if that they would still favour php extensions today that were replaced by better ones almost a decade ago.

I do agree, but how many site are still using deprecated PHP7?
Safety often comes first, after trouble.

Well I was wrong, it works.
Indeed, these are the correct settings.

mysqli - off
mysqlnd = on
nd_mysqli = on

Ce fil de discussion a été fermé en raison d'une longue inactivité. Il n'est pas possible de publier dessus.
Voir le code sur GitHub