XAMPP,阿帕奇: [英] Xampp, Apache :

查看:185
本文介绍了XAMPP,阿帕奇:的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Xampp时,我们跑了,而Apache的崩溃,但不知道原因,也有导游谁帮助。谢谢

 上午八时16分54秒检测[阿帕奇]状态变化:停止
上午08时16分54秒[阿帕奇]错误:Apache的意外关闭。
上午08时16分54秒[阿帕奇]这可能是由于阻塞端口,缺少的依赖,
上午08时16分54秒[阿帕奇]不当特权,崩溃,或者通过其他方法关闭。
上午08时16分54秒[阿帕奇] preSS日志按钮来查看错误日志和检查
上午08时16分54秒[阿帕奇] Windows事件查看器的更多线索
上午08时16分54秒[阿帕奇]如果你需要更多的帮助,复制和发布此
上午08时16分54秒[阿帕奇]在论坛上整个日志窗口


解决方案

我有,当我试图让Apache将在XAMPP开始了同样的问题。我遇到的大多数的答案曾与进入服务,使得万维网发布服务停止这样做。然而,当我在服务看着它(的Windows 10),它不存在,所以我尝试另一条路线,它的工作。下面是我采取的步骤:


  1. 从XAMPP控制面板,单击配置为Apache和访问(httpd.conf文件)

  2. 找到以下内容:
    #Listen 12.34.56.78:80 #Listen 80(简称#Listen 80将在第二行,由于某种原因堆栈溢出扭曲,当我在这里重复它的文本。

  3. 更改第二行听8080

  4. 下降到服务器名本地主机:80&放大器;更改为本地主机服务器名:8080

  5. 保存并关闭文件

  6. 从XAMPP控制面板,单击配置为Apache和访问(的httpd-ssl.conf中)

  7. 找到以下内容:听443&放大器;将其更改为听4433

  8. 下拉菜单,更改为

  9. 保存并关闭文件。

现在,当您单击为Apache开始,它应该变绿,一切都会好的。如果这没有帮助尝试查找了万维网发布服务流行的修复,然后右键单击停止 - 它没有为我工作,但它可能为你工作。我真的希望这可以帮助别人那里。

Xampp we ran a while apache crashes, but do not know the cause, there are guides who help. Thanks

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

解决方案

I was having the same issue when I tried to get Apache to start in XAMPP. Most answers I came across had to do with going into "Services" and making the "World Wide Web Publishing Service" Stop. However, when I looked for it in "Services" (Windows 10) it wasn't there, so I tried another route and it worked. Here are the steps I took:

  1. From the XAMPP Control Panel, click "config" for Apache, and access (httpd.conf)
  2. Locate the following: "#Listen 12.34.56.78:80 #Listen 80" (the "#Listen 80" will be on a second line, for some reason Stack Overflow distorts the text when I duplicate it here.
  3. Change the second line to "Listen 8080"
  4. Drop down to "ServerName localhost: 80" & change it to "ServerName localhost: 8080"
  5. Save and Close the file
  6. From the XAMPP Control Panel, click "config" for Apache, and access (httpd-ssl.conf)
  7. Locate the following: "Listen 443" & change it to "Listen 4433"
  8. Drop down to "," change it to ""
  9. Save and Close the file.

Now, when you click for Apache to start, it should turn green and all will be well. If this doesn't help try the popular fix of locating the "World Wide Web Publishing Service" and right click to "Stop" it - it didn't work for me, but it might work for you. I really hope this helps someone out there.

这篇关于XAMPP,阿帕奇:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆