XAMPP中Apache因为端口原因不能启动的解决方法
在开启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
最新文章
- yii 验证问题
- js 字符串转换数字
- linux里添加locate命令
- cms3.0——收获(1)
- 手机App开发
- 宏基5750G 不能用内置无线网卡上网
- Mybatis的简单示例
- centos中MySQL,VmTools安装,使用及异常
- android screenOrientation
- C#调用Matlab生成的dll方法
- [移动端] IOS下border-image不起作用的解决办法
- JDK,JRE,JVM的区别与联系
- python接口自动化(十)--post请求四种传送正文方式(详解)
- [问题]Android listView item edittext 不能调用软键盘输入法
- Confluence 6 用户宏示例 - NoPrint
- String()与toString的区别
- mybatis配置文件resultMap标签的使用
- 数据库SQL语言学习--上机练习3(插入 更新 删除)
- nodejs学习笔记<;二>; 使用node创建基础服务器
- MVVM Light 笔记