XAMPP在Windows上 - 阿帕奇无法启动 [英] XAMPP on Windows - Apache not starting

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

问题描述

我已经在我的Windows安装XAMPP 7的机器,但不能得到Apache一起工作。

I have installed XAMPP on my windows 7 machine but can't get Apache to work.

在开始我得到以下错误:

On start I get the following errors:

13:09:21  [apache]  Apache Service Detected With Wrong Path
13:09:21  [apache]  Uninstall the service manually first
13:09:21  [apache]  Possible problem detected! 
13:09:21  [apache]  Port 80 in use by "system"!
13:09:21  [tomcat]  Tomcat Service Detected With Wrong Path
13:09:21  [tomcat]  Uninstall the service manually first

打开XAMPP面板,安装Apache售后服务:我试图启动它,它总是卡住启动Apache服务......

After opening the XAMPP panel and installing Apache service: I have tried start it, it always get stuck "Starting apache service..."

这是我怎么能解决这个有何建议?

Any advice on how I could resolve this ?

谢谢
贾米尔

推荐答案

我能解决这个问题!

有同样的问题,如上所述,提出确保没有使用端口80,仍然没有工作,得到了Apache和MySQL使用了错误的道路检测到的消息。

Had the same problems as stated above, made sure nothing was using port 80 and still not working and getting the message that Apache and Mysql were detected with wrong path.

我没有安装XAMPP前一次,卸载和重新安装。我甚至手动卸载,但仍然有问题。

I did install XAMPP once before, uninstalled and reinstalled. I even manually uninstalled but still had issues.

此修复程序。首先确保你备份你的系统!

The fix. Make sure you backup your system first!!!


  1. 通过控制面板启动服务>管理工具

  1. Start Services via Control Panel>Admin Tools

查找Apache和MySQL服务。看看说明书中指出的补丁(右键单击服务,然后单击属性)。机会是你已经阿帕奇列出两次,一是从您的​​正确安装和一个从previous安装。即使你只看到一个,看路,很可能是它从previous安装并导致您的安装不工作。在这两种情况下,你需要删除这些不正确的服务。

Look for Apache and mySQL services. Look at the patch indicated in the description (right click on service then click on properties). Chances are that you have Apache listed twice, one from your correct install and one from a previous install. Even if you only see one, look at the path, chances are its from a previous install and causing your install not to work. In either case, you need to delete those incorrect services.

一个。得到了命令提示符(以管理员身份运行):开始>所有程序>附件>右键单击命令提示符>选择以管理员身份运行

a. Got to command prompt (run as administrator): Start > all programs > Accessories > right click on Command Prompt > Select 'run as administrator'

乙。在命令提示符下键入SC删除服务(服务=你想删除的服务)如apache2.1。它应该是完全因为它出现在你的服务。如果服务空间,如Apache 2.1,然后在引号输入,即SC删除阿帕奇2.1

b. on command prompt type sc delete service (service = the service you're wanting to delete) such as apache2.1. It should be exactly as it appears in your services. If the service has spaces such as apache 2.1 then enter it in quotes, i.e. sc delete "apache 2.1"

℃。 preSS进入。现在刷新或关闭/打开服务窗口,你会看到它走了。

c. press enter. Now refresh or close/open your services window and you'll see its gone.

做到这一点对于XAMPP发现,与不正确的路径运行的所有服务。

DO THIS for all services that XAMPP finds as running with incorrect path.

一旦你做到这一点,去头,并重新启动XAMPP控制面板(如管理员)和中提琴!所有的作品。没有冲突

Once you do this, go head and restart the XAMPP control panel (as administrator) and viola!!! all works. No conflicts

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

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