What if I have multiple PHP versions installed? How do I ensure the mysqli extension is enabled for the correct version?

Responsive Ad Header

Question

Grade: Education Subject: Support
What if I have multiple PHP versions installed? How do I ensure the mysqli extension is enabled for the correct version?
Asked by:
120 Viewed 120 Answers

Answer (120)

Best Answer
(338)
If you have multiple PHP versions, you need to enable the `mysqli` extension for each version separately. Identify the `php.ini` file used by your web server for phpMyAdmin (often determined by your web server configuration). Edit *that* specific `php.ini` file and enable the extension there. Restart the corresponding PHP-FPM service.