在Windows上配置Apache/PHP/mySQL.快完成了


Configuring Apache/PHP/mySQL on Windows .. almost done

我已经按照以下指南设置了我的本地主机

http://www.1stwebdesigner.com/tutorials/how-to-setup-local-web-server-with-latest-apache-php-and-mysql-packages/

我想使用 PHP 5.3.10 使用与我的活动站点相同的版本,尽管当我使用较新版本并导航到 localhost/pma 时,我收到以下错误:

The mysqli extension is missing. Please check your PHP configuration. <a href="Documentation.html#faqmysql" target="documentation"><img src="themes/dot.gif" title="Documentation" alt="Documentation" class="icon ic_b_help" /></a>

有谁知道还需要做什么才能正确配置 mySQLi?

打开 php.ini 文件,并确保 extension=mysqli.so(或 extension=mysqli.dll 在 Windows 上)没有被注释掉。

还要确保在 php 安装的扩展文件夹中有 mysqli.so 或 mysqli.dll 文件。

是的,首先检查您的"服务"并确保MySQL正常运行。

查看您的防火墙设置并为 MySQL 创建入站/出站规则.exe

我记得,这是因为mySQL服务未安装或运行正常