因为开发的需要,需要多版本php测试,本文以xampp这个软件包来实现多版本php共存环境安装
下载多个xmapp版本,下载地址https://sourceforge.net/projects/xampp/files/XAMPP%20Windows/
注意需要下载解压版本
xampp-portable-windows-x64-7.4.5-0-VC15.zip
xampp-portable-windows-x64-7.3.17-0-VC15.zip
xampp-portable-windows-x64-7.2.30-0-VC15.zip
xampp-portable-windows-x64-7.1.33-1-VC14.zip
xampp-portable-windows-x64-5.6.40-1-VC11.zip
1、把xampp-portable-windows-x64-7.1.33-1-VC14.zip解压在D:\xampp\7.1.33,目录结构如下:
2、如果只需要运行php,如果打开xampp-controll.ini,关闭除apache外的其它模块
[EnableModules]
Tomcat=0
Apache=1
MySQL=0
FileZilla=0
Mercury=0
3、双击运行xampp-control.exe,点击界面上的'config&#