Fatal error: Call to undefined function mysqli_connect()

前端 未结 14 996
面向向阳花
面向向阳花 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条回答
  •  Happy的楠姐
    2020-11-22 14:55

    Happens when php extensions are not being used by default. In your php.ini file, change
    ;extension=php_mysql.dll
    to
    extension=php_mysql.dll.

    **If this error logs, then add path to this dll file, eg
    extension=C:\Php\php-???-nts-Win32-VC11-x86\ext\php_mysql.dll

    Do same for php_mysqli.dll and php_pdo_mysql.dll. Save and run your code again.

提交回复
热议问题