title: Xampp apache won't run after previous Apache installation
body: <p>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:</p>
  
  <pre><code>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
  </code></pre>
  
  <p>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):</p>
  
  <pre><code> # Listen: Allows you to bind Apache to specific IP addresses and/or
   # ports, instead of the default. See also the &lt;VirtualHost&gt;
   # 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
  </code></pre>
  
  <p>Here are my path variables:</p>
  
  <pre><code>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"
  </code></pre>
  
  <p>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?</p>