开发者

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 e开发者_如何学Clse do I verify?


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:

mysqi extension is missing


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


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


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...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜