解决 XAMPP 和 VMWare 端口443冲突问题
今个做开发用xampp的时候发现apache不能启动了,查一下log,发现端口冲突了
[apache] problem detected!
16:32:28 [apache] port 443 in use by ""e:program files (x86)vmware9vmware-hostd.exe" -u "c:programdatavmwarehostdconfig.xml"" with pid 3468!
16:32:28 [apache] apache will not start without the configured ports free!
16:32:28 [apache] you need to uninstall/disable/reconfigure the blocking application
16:32:28 [apache] or reconfigure apache and the control panel to listen on a different port
16:32:28 [apache] attempting to start apache app...
16:32:28 [apache] status change detected: running
16:32:30 [apache] status change detected: stopped
16:32:30 [apache] error: apache shutdown unexpectedly.
16:32:30 [apache] this may be due to a blocked port, missing dependencies,
16:32:30 [apache] improper privileges, a crash, or a shutdown by another method.
16:32:30 [apache] press the logs button to view error logs and check
16:32:30 [apache] the windows event viewer for more clues
16:32:30 [apache] if you need more help, copy and post this
16:32:30 [apache] entire log window on the forums
原来是和vmware的443 端口冲突
解决方法:
1.打开菜单 编辑→参数(edit–> preferences)
2.选择 共享虚拟机(shared vms)
3.点击 改变位置(change setting)
4. 点击 禁用共享(disable sharing)
5.改掉端口数字如448
6、再次启用共享就可以了
ps:如果apache的80端口和windows的iis也冲突了。解决方法就是更改目录xamppapacheconf下的httpd.conf文件,用记事本打开,替换里面所有的80为8080.好了,这下xampp的apache就可以正常开启了!
以上所述是小编给大家介绍的解决 xampp 和 vmware 端口443冲突问题,希望对大家有所帮助