FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821
Rep:
Mysqli support is missing
I have loaded Mysql to my localhost with apache 2. My shopping cart installation gives the message
Problems with your MySQL (mysqli) support. Your server appears to be missing the mysqli extension for PHP, and without it we cannot connect to your database.
I have loaded Mysql to my localhost with apache 2. My shopping cart installation gives the message
Problems with your MySQL (mysqli) support. Your server appears to be missing the mysqli extension for PHP, and without it we cannot connect to your database. How do I add it on Fedora 31?
Thanks
As michaelk noted, Google has much information on this. You don't say what version of PHP or MySQL, but given the message it's likely you've just updated to the latest PHP, which means your PHP code will need a "mysqli_connect" call, instead of "mysql"...which means your shopping cart software updated, and you're missing the php-mysqli package:
Code:
$ sudo dnf install php-mysqli
You will HAVE TO update your PHP MySQL calls to use the mysqli methods.
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821
Original Poster
Rep:
Quote:
Originally Posted by TB0ne
As michaelk noted, Google has much information on this. You don't say what version of PHP or MySQL, but given the message it's likely you've just updated to the latest PHP, which means your PHP code will need a "mysqli_connect" call, instead of "mysql"...which means your shopping cart software updated, and you're missing the php-mysqli package:
Code:
$ sudo dnf install php-mysqli
You will HAVE TO update your PHP MySQL calls to use the mysqli methods.
I have loaded the latest LAMP MariaDB
I think you have given the right install candidate.
Distribution: Mint 20, Kali, Peppermint, Ubuntu, MakuluFlash, Fedora 32, Windows 12 Lite, MakuluLinux
Posts: 821
Original Poster
Rep:
Quote:
Originally Posted by TB0ne
As michaelk noted, Google has much information on this. You don't say what version of PHP or MySQL, but given the message it's likely you've just updated to the latest PHP, which means your PHP code will need a "mysqli_connect" call, instead of "mysql"...which means your shopping cart software updated, and you're missing the php-mysqli package:
Code:
$ sudo dnf install php-mysqli
You will HAVE TO update your PHP MySQL calls to use the mysqli methods.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.