Fatal error: Call to undefined function mysqli_connect()

前端 未结 14 1073
面向向阳花
面向向阳花 2020-11-22 14:48

For 2 days now I\'m trying to solve this, but unfortunately no result. Let me tell you my story about the problem. I\'ve bulid an application on a site, and the application

14条回答
  •  天命终不由人
    2020-11-22 14:56

    Late to the conversation...

    If you have the module installed and set your PHP.INI file properly, check your apache error log for something like the following:

    PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_mysqli.dll' - The specified module could not be found.

    In this case, your extension directory is not what you think it is. You may neeed to set it explicitly, like so:

    extension_dir="C:\xampp\php\ext"
    

提交回复
热议问题