XAMPP安装的时候会提示你禁用UAC,我没禁用感觉也没问题。安装得时候最好不要在C盘,选择其他盘符的根目录,注意是根目录。安装完后启动apache会报错
Port 443 in use by "C:\Program Files (x86)\VMware\VMware Workstation\vmware-hostd.exe" in xampp control panel.
其原因是apache试用的443断后与VMware Workstation冲突
下面介绍如何更改Apache自己的端口,百度上的方法都是介绍如何更改VMware Workstation的端口,例如 解决 XAMPP 和 VMWare 端口443冲突问题
- Click on config button of apache in xampp control panel
- Open up httpd-ssl.conf
- Look for the line Listen 443
- Change port number to anything you want. I use 4430. Example: Listen 4430.
- Replace every 443 string in that file with 4430.
- Save the file.