Apache将不会启动WAMP [英] Apache won't start in wamp

查看:138
本文介绍了Apache将不会启动WAMP的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用Google在过去的几个小时,但我根本无法得到WAMP开始我的Apache。我的Skype没有运行,测试端口80示出了它不被使用的任何内容。在此之前发生的事情,我是想添加一个新的虚拟主机,但现在我已归还所有在我所做的更改的文件。无论如何调试为什么Apache将无法启动?

I have been googling for the past few hours but I simply can't get my apache on wamp to start. My skype isn't running, and the test port 80 shows it isn't being used by anything. Before this happened, I was trying to add a new vhost, but now I have reverted back all of the files where I made changes. Anyway to debug why apache won't start?

点击为Apache启动/恢复服务不显示任何错误,无论是。

Clicking on start/resume service for apache doesn't show any errors either.

同样以防万一,我运行Win7的64位

Also just in case, I am running Win7 64bit

推荐答案

如果您在httpd.conf问题或它所包含的任何文件有几种方法,找出问题是什么

If you have an issue in the httpd.conf or any files included by it there are a couple of ways to find out what the problem is

首先看一下你的 Windows事件查看器。点击窗口在左侧则应用链接和菜单。
查找带有红色错误图标来自Apache的消息。

First look at your Windows Event Viewer. Click on the Windows link in the left and menu and then Applications. Look for messages from Apache with the red error icon.

其次,打开命令窗口,然后进入光盘\\ WAMP \\ BIN \\ apache的\\ apache2.x.y \\ bin中,用您的实际版本替换X,Y。
现在你可以运行这个命令得到阿帕奇(httpd的),以vaidate httpd.conf文件。

Secondly, open a command window, then CD into \wamp\bin\apache\apache2.x.y\bin, replace x,y with your actual version. Now you can run this command to get Apache(httpd) to vaidate the httpd.conf file.

httpd.exe -t

这应该给与相关http.conf文件行号错误。
它停在第一个错误,所以你必须保持运行它,并修复错误,然后再次运行它,直到它给人的一切OK消息。

This should give errors with line numbers related to the http.conf file. It stops on the first error, so you will have to keep running it and fixing the error and then run it again until it gives the all OK message.

这篇关于Apache将不会启动WAMP的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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