检查以下几点:
1、去掉php.ini中“extension=php_mysqli.dll”前面的分号
2、php.ini中extension_dir定位到自己php下的ext文件夹,默认为相对位置:extension_dir = "ext",需修改为绝对位置,即extension_dir = "d:/php7/ext"
3、以上完成后,需重启apache服务器
检查以下几点:
1、去掉php.ini中“extension=php_mysqli.dll”前面的分号
2、php.ini中extension_dir定位到自己php下的ext文件夹,默认为相对位置:extension_dir = "ext",需修改为绝对位置,即extension_dir = "d:/php7/ext"
3、以上完成后,需重启apache服务器