1.对于下面这种报错,经常会出现,出现的场景,一般是当我们更新了windows相关的应用,下载一个安装文件包,影响了系统的80,这时候就会产生经常出现的端口冲突,需要怎么做呢?
Port 80 in use by "Unable to open process" with PID 4! 10:55:24 [Apache]
Apache WILL NOT start without the configured ports free! 10:55:24 [Apache]
You need to uninstall/disable/reconfigure the blocking application 10:55:24 [Apache]
2.解决方法非常简单
(1)找到两文件
httpd.config和httpd.vhost
(2)vhost文件写虚拟服务器的地址,所以这里的端口监听需要和httpd,config中一致
httpd.config中将Listen:80换成其他的较大数字,这里注意,不要用81或是82,直接用8080或是其他四位数这样避免修改后再次冲突端口