XAMPP中Apache因为端口原因不能启动的解决方法
2016-02-29 21:25
721 查看
在开启XAMPP的Apache时报出如下错误信息:
9:08:14 PM [Apache] Error: Apache shutdown unexpectedly.
9:08:14 PM [Apache] This may be due to a blocked port, missing dependencies,
9:08:14 PM [Apache] improper privileges, a crash, or a shutdown by another method.
9:08:14 PM [Apache] Press the Logs button to view error logs and check
9:08:14 PM [Apache] the Windows Event Viewer for more clues
9:08:14 PM [Apache] If you need more help, copy and post this
9:08:14 PM [Apache] entire log window on the forums
9:13:44 PM [Apache] Problem detected!
9:13:44 PM [Apache] Port 80 in use by "Unable to open process" with PID 4!
9:13:44 PM [Apache] Apache WILL NOT start without the configured ports free!
9:13:44 PM [Apache] You need to uninstall/disable/reconfigure the blocking application
9:13:44 PM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
寓意为80端口被占用,只需用编辑器打开XAMPP安装目录中xampp\apache\conf下的httpd.conf,将58行Listen 80改为Listen 88,220行ServerName localhost:80改为ServerName localhost:88保存即可成功启动(这里的XAMPP版本为v3.2.2)。
其它Apache不能正常启动问题请见:http://blog.csdn.net/kunlong0909/article/details/7716715
9:08:14 PM [Apache] Error: Apache shutdown unexpectedly.
9:08:14 PM [Apache] This may be due to a blocked port, missing dependencies,
9:08:14 PM [Apache] improper privileges, a crash, or a shutdown by another method.
9:08:14 PM [Apache] Press the Logs button to view error logs and check
9:08:14 PM [Apache] the Windows Event Viewer for more clues
9:08:14 PM [Apache] If you need more help, copy and post this
9:08:14 PM [Apache] entire log window on the forums
9:13:44 PM [Apache] Problem detected!
9:13:44 PM [Apache] Port 80 in use by "Unable to open process" with PID 4!
9:13:44 PM [Apache] Apache WILL NOT start without the configured ports free!
9:13:44 PM [Apache] You need to uninstall/disable/reconfigure the blocking application
9:13:44 PM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
寓意为80端口被占用,只需用编辑器打开XAMPP安装目录中xampp\apache\conf下的httpd.conf,将58行Listen 80改为Listen 88,220行ServerName localhost:80改为ServerName localhost:88保存即可成功启动(这里的XAMPP版本为v3.2.2)。
其它Apache不能正常启动问题请见:http://blog.csdn.net/kunlong0909/article/details/7716715
相关文章推荐
- Apache Benchmark测试工具
- 【PHP项目部署四】Apache、PHP、Mysql整合
- 【PHP项目部署三】Apache环境配置
- apache hadoop安装
- Apache配置虚拟主机后,不能访问localhost的问题
- centos 更改apache默认的80端口为别的端口
- IT行业专业术语
- CentOS6.6下安装Redmine2.6(整合Apache2.4)
- JSONArray().fromObject(); 出现org.apache.catalina.core.StandardWrapperValve invoke错误的解决办法
- ubuntu14.04系统下在apache2.4服务器上设置虚拟主机
- apache的proxy代理总访问后端web的第一个虚拟主机
- apache安装方式
- Apache搭建负载均衡
- Apache服务器安装配置(win版)
- 安装 Apache 出现 <OS 10013> 以一种访问权限不允许的方式做了一个访问套接字的尝试
- apache 返回的状态码304
- RH436 Day3 课后总结
- linux 下 Apache 安装
- apache2.2 到 2.4后配置文件需要更改的部分
- 为Mac自带的Apache配置PHP和虚拟机