The mysqli extension is missing. Please check your PHP configuration

前端 未结 14 1536
盖世英雄少女心
盖世英雄少女心 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:18

    If your configuration files are okay but still having the same issue then install php7.x-mysql according to the version of the installed php.

    For example in my case, I'm using php7.3 so I ran the following command to get it all set:

    sudo apt install php7.3-mysql
    
    0 讨论(0)
  • 2020-12-01 22:20

    I've been searching for hours and no one could help me. I did a simple thing to solve this problem. (WINDOWS 10 x64)

    Follow this:

    1 - Go to your php_mysqli.dll path (in my case: C:/xampp/php/ext);

    2 - Move the php_mysqli.dll to the previous folder (C:/xampp/php);

    3 - Open php.ini and search the line: "extension: php_mysqli.dll";

    4 - Change to the path where is your file: extension="C:\xampp\php\php_mysqli.dll";

    5 - Restart your application (wampp, xampp, etc.) and start Apache Server;

    The problem was the path ext/php_mysqli.dll, I've tried changing the line to extension="C:\xampp\php\ext\php_mysqli.dll" but doesn't worked.

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