Link to home
Start Free TrialLog in
Avatar of Tripti Singh
Tripti Singh

asked on

Problem with mysqli extension

Hello i am facing the same problem
"The mysqli extension is missing. Please check your PHP configuration. See our documentation for more information."

I am attaching the php.ini file with some corrections made. Can you please rectify and tell why mysqli extension is still not getting connected.
php.ini.ini
Avatar of kenfcamp
kenfcamp
Flag of United States of America image

Well, the first thing I would suggest is fixing the following

;
 extension=/path/to/extension/mysqli.so
;

Open in new window


This either needs to be modified to reflect the actual path to mysqli.so, or commented out
;
 ; extension=/path/to/extension/mysqli.so
;

Open in new window


After making your change(s), remember to restart apache before you test

Let us know how you make out

Ken
Yep - Looks like you've uncommented a line from the documentation section of your php.ini (line 879). Add the semi-colon back in.

You do have the correct line activated at line 905.

You also have the PDO line activated so you could also use that instead of mysqli.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.