Call to undefined function mysqli_connect()解决这个问题需要开启mysqli扩展开启mysqli扩展需要这两个步骤缺一不可1.在php.ini中搜索php_mysqli.dll 2.设置extension_dir指令 ; Windows Extensions ; Note that ODBC support is built in, so no dll is needed for it. ; Note that many DLL files are lo…