在之前的Apache安装之后,Xampp apache将无法运行

I've installed Xampp because the Apache module that I installed earlier won't let me use curl. However, I get these errors as a result and I can't start apache from xampp:

10:47:30 AM  [main]     All prerequisites found
10:47:30 AM  [main]     Initializing Modules
10:47:30 AM  [Apache]   Apache Service detected with wrong path
10:47:30 AM  [Apache]   Change XAMPP Apache and Control Panel settings or
10:47:30 AM  [Apache]   Uninstall/disable the other service manually first
10:47:30 AM  [Apache]   Found Path: "C:\Apache24\bin\httpd.exe" -k runservice
10:47:30 AM  [Apache]   Expected Path: "c:\xampp\apache\bin\httpd.exe" -k runservice
10:47:30 AM  [main]     Starting Check-Timer
10:47:30 AM  [main]     Control Panel Ready

I tried adding the C:\xampp\apache\bin directory to the path and commented out the line that refers to the port used by the original Apache module (C:\Apache24\bin\httpd.conf):

 # Listen: Allows you to bind Apache to specific IP addresses and/or
 # ports, instead of the default. See also the <VirtualHost>
 # directive.
 #
 # Change this to Listen on specific IP addresses as shown below to 
 # prevent Apache from glomming onto all bound IP addresses.
 #
 #Listen 12.34.56.78:80
 #Listen 80

Here are my path variables:

C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static; C:\Program Files\TortoiseSVN\bin;C:\PHP;C:\PHP\ext;C:\Apache24\bin;C:\xampp\apache\bin;C:\Ruby193\bin;C:\xampp\apache\bin"

I don't think it's gonna help me solve the problem but should I remove the original Apache directory from the path to solve this?

查看全部
douman9420
douman9420
2015/03/11 18:00
  • apache
  • php
  • xampp
  • 点赞
  • 收藏
  • 回答
    私信
满意答案
查看全部

1个回复