现在的位置: 首页 > 综合 > 正文

XAMPP 中apache无法打开的修改

2012年05月17日 ⁄ 综合 ⁄ 共 727字 ⁄ 字号 评论关闭

最近好忙啊, 数据库, 游戏, 网站, 开源各种事儿, 有很多想写的博客都没有时间, 在这里记一笔,之后尽量补上,

尤其是SQL SERVER和车牌识别的相关内容

进入主题:

我的系统 win8, 64bit, 

XMAPP的版本1.8.1

错误:

17:05:33  [Apache] Error: Apache shutdown unexpectedly.
17:05:33  [Apache] This may be due to a blocked port, missing dependencies, 
17:05:33  [Apache] improper privileges, a crash, or a shutdown by another method.
17:05:33  [Apache] Check the "/xampp/apache/logs/error.log" file
17:05:33  [Apache] and the Windows Event Viewer for more clues

端口被占用

XAMPP自带了查看端口和修改端口的功能, 可惜修改的功能点击了没反应, 可能是我的使用方法不当

netstart 用于查看端口

config用于修改端口 可惜我的不能用

我的修改方法: -- 自己修改两个端口:

 1.到这个目录下\ xampp\apache\conf  ,打开httpd.conf,将里边的80端口全部改成一个未被占用的端口,比如8001

 2.到这个目录 \ xampp\apache\conf\extra ,打开httpd-ssl.conf ,将文件里的443端口全部换成一个未被占用的端口,比如4431

还有其他方式, 可以参见这个博客:

http://blog.sina.com.cn/s/blog_71db743e0100v1r8.html

【上篇】
【下篇】

抱歉!评论已关闭.