catsanova LiteCart Fan Fra Netherlands Medlem siden catsanova 23 mai 2023 13:58 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)
tim Founder Fra Sweden Medlem siden tim 23 mai 2023 17:37 Can this help you maybe? https://www.litecart.net/en/forums/15/errors-and-troubleshooting/16698/mysqli-constant-mysqli-opt-int-and-float-native-is-undefined
catsanova LiteCart Fan Fra Netherlands Medlem siden catsanova 24 mai 2023 08:32 No unfortunately, libmysql is not active. Running PHP 8.0
catsanova LiteCart Fan Fra Netherlands Medlem siden catsanova 24 mai 2023 11:14 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 Founder Fra Sweden Medlem siden tim 24 mai 2023 14:28 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. 😁
catsanova LiteCart Fan Fra Netherlands Medlem siden catsanova 24 mai 2023 15:45 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 Founder Fra Sweden Medlem siden tim 24 mai 2023 17:15 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.
catsanova LiteCart Fan Fra Netherlands Medlem siden catsanova 24 mai 2023 18:38 I do agree, but how many site are still using deprecated PHP7? Safety often comes first, after trouble.
catsanova LiteCart Fan Fra Netherlands Medlem siden catsanova 24 mai 2023 19:39 Well I was wrong, it works. Indeed, these are the correct settings. mysqli - off mysqlnd = on nd_mysqli = on