I've been trying to install php, apache, and mySQL in a working fashion for some time now. After attempting manually several times and hitting roadblocks, I ended up just trying to use Xampp.
However, upon startup, the program says:
2:18:39 PM [main] Running with Administrator rights - good!
2:18:39 PM [main] XAMPP Installation Directory: "c:xampp"
2:18:39 PM [main] Checking for prerequisites
2:18:39 PM [main] All prerequisites found
2:18:39 PM [main] Initializing Modules
2:18:39 PM [Apache] Apache Service detected with wrong path
2:18:39 PM [Apache] Change XAMPP Apache and Control Panel settings or
2:18:39 PM [Apache] Uninstall/disable the other service manually first
2:18:39 PM [Apache] Found Path: "C:Apache24inhttpd.exe" -k runservice
2:18:39 PM [Apache] Expected Path: "c:xamppapacheinhttpd.exe" -k runservice
I followed the suggestions here, but
(a) Changing the port Listen 80
to Listen *:80
or Listen 81
had no effect.
(b) using netstat -ao
, there were no local addresses ending with 80.
I've also tried deleting any files related to apache, mysql, and php not in the xampp folder, which were left over from previous install attempts.
Tried xampp 1.8.2, uninstalled, tried 1.8.3, same issue.
For what I can guess, I must've changed some code somewhere outside Xampp before I installed it, and now it is executing when apache is run, changing the path from what Xampp wants (Expected Path: "c:xamppapacheinhttpd.exe" -k runservice
) to a path to the now deleted folder C:Apache24in
. However, I don"t know where this code might be!
I tried searching my whole C drive for C:Apache24in, but the search came up empty.
Machine: Windows 7 64 bit
Previously installed/uninstalled: Apache2.2, Apache2.4, php5.5.4, MySQL using MySQL Installer 5.6
tried xampp for windows 1.8.2
xampp for windows 1.8.3 currently installed.
Any help?
See Question&Answers more detail:
os