Ganesh
Ganesh

Reputation: 79

mysqi extension is missing

I had uncommented the 'extension=php_mysqli.dll' in the PHP config file but I'm still getting the error message that my mySQLi extension is missing. What else do I verify?

Upvotes: 1

Views: 18387

Answers (4)

Starwave
Starwave

Reputation: 2404

Was on this problem for hours...

Solved it by changing extension_dir = "ext" to extension_dir = "C:/PHP-5.5.13/ext"

Seems like it doesn't like relative pathing...

Upvotes: 0

codaniel
codaniel

Reputation: 5253

For anyone else using ubuntu. I ran into this problem on a fresh ubuntu installation. I solved it by adding this line to php.ini.

extension=mysqli.so

My php.ini was located @ /etc/php5/apache2/php.ini

Upvotes: 2

Sobbosanchi Nag
Sobbosanchi Nag

Reputation: 11

I was also getting the same error while clicking on phpmyadmin and tried all possible solns povided in google. i tried with wamp and then reinstalling xamp.neither didnt and looked at the php.ini file.but everything was perfect. Later i realised i was selecting google chrome as my default browser while installing xamp. but then i tried opening localhost with Internet Explorer and everyhtng was fine.

Thanks Sobbosanchi

Upvotes: 1

Brad
Brad

Reputation: 163234

After restarting your web service, check PHP info:

phpinfo();

Does the extension appear there? If so, it loaded correctly. If not, you are likely missing the DLL, or have the wrong extension path.

Look for something like this: mysqli extension

Upvotes: 4

Related Questions