2

After upgrading to Windows 8.1 from Windows 8 today Apache isn't working anymore. I had this problem when upgrading last time to Windows 8 from Windows 7 and had to re-install all my server components but I don't want to do that this time as I loose all the databases I had before.

Does anyone know what I can do to reconnect my Apache server, PHP and MySQL servers?

Apache 2.2 PHP 5.

user1807361
  • 31
  • 1
  • 3
  • An OS upgrade is a big thing. Actually, it's a **HUGE** thing. If you're going to upgrade, you need to be aware of the costs and you should have backed up your databases. – Mark Oct 20 '13 at 17:25
  • Check your ports. I had a problem with my Apache ports conflicting with the ports being installed with the bundled Skype. I changed my ports to 8888 and worked great. Server problems can be frustrating. – w3bMak3r Oct 20 '13 at 17:27
  • I still have all the files there in my MySQL data folder, is there any way of getting the data out of them? – user1807361 Oct 20 '13 at 17:28
  • Do you have MySQL, Apache or WAMP services installed? Click `Windows + R` and type `services.msc`. Check the list of services, and start Apache, MySQL and WAMP services. It would be helpful if you you install each server one by one, or if you used a package. – kiewic Oct 20 '13 at 17:38
  • @Kiewic I've installed them all separately. The services aren't running or show up in services.msc any more. I've tried re-installing the Apache service with httpd.exe -k install but it gives me "(OS5)Access is denied. : Failed to open WinNT service manager" – user1807361 Oct 20 '13 at 17:43
  • Did you run it from an elevated command prompt? – kiewic Oct 20 '13 at 17:48

1 Answers1

4

You should start the MySQL, Apache and/or WAMP services from services.msc. If cannot find them, you will need to re-install them as services.

In few words, you need to execute the following binaries from an elevated command prompt:

If you cannot find them, try this from a command prompt:

cd c:\
dir /s /b mysqld.exe
dir /s /b httpd.exe

Then you will find them.

kiewic
  • 15,852
  • 13
  • 78
  • 101