如果您将 XAMPP 解压到根目录(比如 c:\xampp 或 d:\xampp 等等),您可以尝试直接启动 XAMPP。这意味着您不需要先运行“setup_xampp.bat”进行配置。Apache、MySQL 和 Mercury 邮件服务器能够正确启动!只有 FileZilla FTP 服务器不会启动,因为它需要绝对路径。使用这种方法请注意:不要解压到双重 xampp 文件夹中(如 c:\xampp\xampp)!只能使用一个 xampp 文件夹(如 d:\xampp(\apache 等等))。如果您使用了双重文件夹,那么您必须先运行“setup-xampp.bat”的配置过程。
操作指南
操作 1:启动/停止/测试 XAMPP
www.nat32.com 制作的 XAMPP 控制面板不包含在 Lite 版(精简版)中。
.\xampp\xampp-control.exe
其它的服务启动/停止脚本
启动 Apache 和 MySQL:.\xampp\xampp_start.exe
停止 Apache 和 MySQL:.\xampp\xampp_stop.exe
启动 Apache:.\xampp\apache_start.bat
停止 Apache:.\xampp\apache_stop.bat
启动 MySQL:.\xampp\mysql_start.bat
停止 MySQL:.\xampp\mysql_stop.bat
启动 Mercury 邮件服务器:.\xampp\mercury_start.bat
(Mercury 邮件服务器只能通过 XAMPP 控制面板的图形界面停止)
设置 FileZilla FTP 服务器:.\xampp\filezilla_setup.bat
启动 FileZilla FTP 服务器:.\xampp\filezilla_start.bat
停止 FileZilla FTP 服务器:.\xampp\filezilla_stop.bat
测试:Apache 服务启动后,在浏览器中输入地址
http://localhost 或
http://127.0.0.1,并检测所有的 XAMPP 样例和工具。