The mysqli extension is missing. Please check your PHP configuration

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

提交回复
热议问题