PHPMyAdmin Windows XAMPP Missing MySQL Extension Issue

后端 未结 4 1450
-上瘾入骨i
-上瘾入骨i 2020-12-18 06:35

I\'ve tried install Apache, PHP, MySQL, and PHPMyAdmin manually and got the error. Then tried XAMPP and still got the error this error with PHPMyAdmin:

The m         


        
相关标签:
4条回答
  • 2020-12-18 06:38

    If after you've removed the semi-colons you STILL get this error. Your extension_dir value in php.ini may be the problem simply point the value to extension_dir = "C:\php\ext" (or wherever you store your php modules), restart your server and you should be fine.

    0 讨论(0)
  • 2020-12-18 06:53

    I had this issue for the longest time on Xampp 7.4

    I had already uncommented the line, however, what helped changing the

    extension=php_mysql
    

    to

     extension=php_mysql.dll
    
    0 讨论(0)
  • 2020-12-18 06:54

    Fairly simple fix. Find your PHP.ini file, and in it there will be a list of extensions. Look for the one that says mysql and take the ; off the front of the line.

    ;extension=php_mysql.dll
    ;extension=php_mysqli.dll
    ;extension=php_pdo_mysql.dll
    

    If you don't know where your PHP.ini file resides, you can put this code in a script to find out:

    phpinfo()

    0 讨论(0)
  • 2020-12-18 06:58

    Just add this to your php.ini

    extension= php_mysqli.dll
    

    and stop and start apache and MySQL it will work.

    0 讨论(0)
提交回复
热议问题