Hi,
I have tried searching everywhere to solve my problem, but have not yet found a soloution.
I have been using xampp for maybe a year now without issues, but all of a sudden mysql would not start but apache did. After a few days they swapped, ie mysql seems to be fine (although i cant get onto phpmyadmin), but apache refuses to run.
Using xampp control panel v3.0.2
Apache and mysql running as a service:
08:38:03 [main] Initializing main
08:38:03 [main] Windows version: 6.1 (build 7601) - Service Pack 1
08:38:03 [main] Xampp version: 1.8.1
08:38:03 [main] Control center version: 3.0.2 [ Compiled: Jul 21th 2011 - build #1 ]
08:38:03 [main] Running as admin - good!
08:38:03 [main] Working with basedir: "c:\xampp\"
08:38:03 [main] Initializing moduls
08:38:03 [apache] Initializing module...
08:38:03 [apache] Checking for service (name="Apache2.2"): Service installed
08:38:03 [mysql] Initializing module...
08:38:03 [mysql] Checking for service (name="mysql"): Service installed
08:38:03 [filezilla] Initializing module...
08:38:03 [filezilla] Checking for service (name="FileZilla Server"): Service not installed
08:38:03 [mercury] Initializing module...
08:38:03 [tomcat] Initializing module...
08:38:03 [main] Starting check-timer
08:38:30 [apache] Starting apache service...
08:38:30 [apache] Executing "net start "Apache2.2""
08:38:33 [apache] Return code: 0
08:38:52 [mysql] Starting mysql service...
08:38:52 [mysql] Executing "net start "mysql""
08:38:52 [mysql] Status change detected: running
08:38:57 [mysql] Return code: 0
So, as you can see, mysql starts but not apache.
Any ideas?
Also, if i uninstall both as a service by unticking them in the control panel:
08:40:22 [main] Initializing main
08:40:22 [main] Windows version: 6.1 (build 7601) - Service Pack 1
08:40:22 [main] Xampp version: 1.8.1
08:40:22 [main] Control center version: 3.0.2 [ Compiled: Jul 21th 2011 - build #1 ]
08:40:22 [main] Running as admin - good!
08:40:22 [main] Working with basedir: "c:\xampp\"
08:40:22 [main] Initializing moduls
08:40:22 [apache] Initializing module...
08:40:22 [apache] Checking for service (name="Apache2.2"): Service installed
08:40:22 [mysql] Initializing module...
08:40:22 [mysql] Checking for service (name="mysql"): Service installed
08:40:22 [filezilla] Initializing module...
08:40:22 [filezilla] Checking for service (name="FileZilla Server"): Service not installed
08:40:22 [mercury] Initializing module...
08:40:22 [tomcat] Initializing module...
08:40:22 [main] Starting check-timer
08:40:26 [apache] Uninstalling service...
08:40:26 [apache] Executing "c:\xampp\apache\bin\httpd.exe -k uninstall"
08:40:26 [apache] Return code: 0
08:40:26 [apache] Checking for service (name="Apache2.2"): Service not installed
08:40:26 [apache] Successful!
08:40:28 [mysql] Uninstalling service...
08:40:28 [mysql] Executing c:\xampp\\mysql\bin\mysqld.exe --remove mysql
08:40:28 [mysql] Return code: 0
08:40:28 [mysql] Checking for service (name="mysql"): Service not installed
08:40:28 [mysql] Service was NOT (un)installed!
08:40:29 [apache] Starting apache app...
08:40:29 [apache] Executing "c:\xampp\apache\bin\httpd.exe"
08:40:32 [mysql] Starting mysql app...
08:40:32 [mysql] Executing "c:\xampp\mysql\bin\mysqld.exe --defaults-file=c:\xampp\mysql\bin\my.ini --standalone"
08:40:33 [mysql] Status change detected: running
08:40:39 [apache] Starting apache app...
08:40:39 [apache] Executing "c:\xampp\apache\bin\httpd.exe"
mysql works but not apache, just sits there saying executing.
Checking netstat:
0.0.0.0 80 4 system
0.0.0.0 445 4 system
Im pretty sure these are the two ports apache normally uses.
Im guessing this is why apache wont start, because system is using it. But cant figure out how to find out what is using it and how to stop it.
Others suggest IIS, or MsDepSvc etc
Any ideas.
Thanks very much for your help as always