doujiexi1824 2018-05-15 19:51
浏览 43

将mysqli扩展添加到php.ini文件后未激活

I have downloaded PHP 7 and connected it to Apache web server and it works fine, but I cannot activate the mysqli extension what I did was: In the php.ini file, I removed the semicolon from extension=php_mysqli.dll , I have seen that the dll file exists in the folder C:\php\ext\ so I also added extension_dir = C:\php\ext .

However when I navigate to the phpinfo(); page on apache server , nothing has changed and there is no mysqli, only mysqlnd. Any ideas on how to fix this?

  • 写回答

1条回答 默认 最新

  • doujianwan7570 2018-05-15 20:37
    关注

    The issue was resolved when I added PHPIniDir "C:/php" in the configuration file (httpd.conf) of Apache24

    评论

报告相同问题?

悬赏问题

  • ¥40 复杂的限制性的商函数处理
  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码