今个做开发用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.打开菜单 编辑→参数(EditC> 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冲突问题,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对编程小技巧网站的支持!
您可能感兴趣的文章:- IOS 中XAMPP配置问题及解决方法
- 如何修改Xampp服务器上的mysql密码(图解)
- Linux XAMPP下启用WordPress的自定义文件名(伪静态)功能
- 在mac上如何使用终端打开XAMPP自带的MySQL
- Mac版PhpStorm之XAMPP整合apache服务器配置的图文教程详解
- xampp修改mysql默认密码的方法
- dvwa+xampp搭建显示乱码的问题及解决方案
- 从wamp到xampp的升级之路
- xampp Apache启动后无法访问站点解决方法汇总
- XAMPP下使用顶级域名绑定虚拟主机的配置方法和示例
- 详解Xampp和wordpress在Centos7上的搭建与使用
(编辑:李大同)
【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!
|