官网对于以zip方式安装的说明

Installing from ZIP

Unzip the zip archives into the folder of your choice. XAMPP is
extracting to the subdirectory "C:xampp" below the selected target

  1. Now start the file "setup_xampp.bat", to adjust the XAMPP
  2. to your system.

If you choose a root directory "C:" as target, you must not start
"setup_xampp.bat".

Like with the installer version, you can now use the "XAMPP Control
Panel" for additional tasks.

总结

以zip方式安装,如果不是装到c盘根目录,那么一定要执行setup_xampp.bat,否则apache不能启动,而且配置文件中的换行符都是linux的,用记事本打开的话,都没有换行。

xampp7.2系列最新版7.2.34的tomcat版本为7,因此,至少是7.3版本以上的xampp,tomcat版本才为8。

我推荐的xampp版本为7.3.29,其tomcat版本为8.5.69。

tomcat添加管理账号:

Edit the tomcat-users.xml file in the tomcat/conf subdirectory of your
XAMPP installation directory (typically C:xampp) and add the line
below, before the closing </tomcat-users> element:

<user username="admin" password="admin" roles="manager-gui,admin-gui"/>

结束。

标签: none