发布网友 发布时间:2022-04-28 06:02
共2个回答
懂视网 时间:2022-04-28 10:23
php开启mysqli扩展的方法:首先打开php.ini配置文件;然后找到【extension=php_mysqli.dll】,并取消注释;最后找到【extension_dir】,设置ext路径即可。
具体步骤:
(推荐教程:php图文教程)
首先打开php.ini配置文件,搜索php_mysqli.dll;
然后设置extension_dir指令
; Windows Extensions ; Note that ODBC support is built in, so no dll is needed for it. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+) ; extension folders as well as the separate PECL DLL download (PHP 5+). ; Be sure to appropriately set the extension_dir directive. ;一定要适当地设置extension_dir指令。
(视频教程推荐:php视频教程)
最后在php.ini里面搜索extension_dir;
extension_dir = “G:/web/php7.1/ext”
检查G:/web/php7.1/ext安装路径是否存在php_mysqli.dll(如果不存在应该是PHP安装包损坏,请重新下载)。
完成以上步骤就开启成功了。
热心网友 时间:2022-04-28 07:31
你好!
找到PHP的配置文件php.ini,打开它查找mysql扩展,取消前面的注释即可。
我的回答你还满意吗~~