xampp 想说爱你不容易

安装完后,无论如何也启动不了httpd

后来发现有2个httpd进程。于是在另一个httpd的启动目录下使用 输入httpd.exe -k uninstall

再次尝试启动httpd,报错

    Status change detected: stopped
9:25:45  [Apache]     Error: Apache shutdown unexpectedly.
9:25:45  [Apache]     This may be due to a blocked port, missing dependencies,
9:25:45  [Apache]     improper privileges, a crash, or a shutdown by another method.
9:25:45  [Apache]     Press the Logs button to view error logs and check
9:25:45  [Apache]     the Windows Event Viewer for more clues
9:25:45  [Apache]     If you need more help, copy and post this
9:25:45  [Apache]     entire log window on the forums

怎么办呢?网上的文章启发我

应该是端口的问题,这里使用程序提供的设置功能设置一下端口,具体需要点击程序界面上的【config】按钮。{是最右上方的独立的 config按钮}

在新窗口中点击【server and por setting】,在设置窗口上输入对应的对应的端口,需要记得通常情况下80窗口及443窗口可以一起修改。我设置为 main port:7777 ssl:4444

然后回到主界面,点xampp后的config,在记事本中打开,需要注意的是80端口及443端口需要分别设置,我只找到80 将其设置和上面一样为Listen 7777,443 没有找到。保存笔记本修改

最后点击主界面上的  Starrt启动按钮,就成功了

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值