The mysqli extension is missing. Please check your PHP configuration

前端 未结 14 1608
盖世英雄少女心
盖世英雄少女心 2020-12-01 21:45

I have looked through all of the forums that I could find relevant to this question and my problem yet nothing works. I have apache2.2 with php5, phpMyAdmin, and MySQL. I ha

14条回答
  •  孤街浪徒
    2020-12-01 22:07

    I encountered this problem today and eventually I realize it was the comment on the line before the mysql dll's that was causing the problem.

    This is what you should have in php.ini by default for PHP 5.5.16:

    ;extension=php_exif.dll       Must be after mbstring as it depends on it
    ;extension=php_mysql.dll
    ;extension=php_mysqli.dll
    

    Besides removing the semi-colons, you also need to delete the line of comment that came after php_exif.dll. This leaves you with

    extension=php_exif.dll      
    extension=php_mysql.dll
    extension=php_mysqli.dll
    

    This solves the problem in my case.

提交回复
热议问题