Page 1 of 1

[SOLVED] Can't start Apache after Windows 10 upgrade

PostPosted: 04. August 2015 23:35
by hcervantes
Hi guys,

I'm kinda stuck here. Today I've upgraded to Windows 10 and it blew up my Apache. All it says is "Error: Apache shutdown unexpectedly, yadda yadda yadda".

Following a bunch of tips I found online, I tried changing the port on httpconf but no result.

I also looked for everything that might be taking up the ports, but I don't see any of the usual suspects: Skype, Word Wide Web Publishing Service, etc.

Tried "net stop http" from command prompt but it still won't start.

I almost screwed up by uninstalling xampp to install again. Can't do that because of my work. I can backup my files but not the databases. Is there a way to backup MySQL without Apache running?

Re: Can't start Apache after Windows 10 upgrade

PostPosted: 04. August 2015 23:59
by Altrea
hcervantes wrote:Is there a way to backup MySQL without Apache running?

yes: http://dev.mysql.com/doc/refman/5.6/en/mysqldump.html

Re: Can't start Apache after Windows 10 upgrade

PostPosted: 05. August 2015 00:42
by hcervantes
Thanks Altrea. That link will come in handy.

My problem was actually the dumbest thing. In Win8, I used a few shortcuts in explorer's left pane, one of them pointing to htdocs that I named "LOCAL SERVER". Now on Win10, there's a "Quick access" section on that pane, but renaming a shortcut there actually renames the folder itself.

It was only when I tried starting Apache from the command line that I discovered a file not found error and traced it to the renamed htdocs folder.

Re: [SOLVED] Can't start Apache after Windows 10 upgrade

PostPosted: 05. August 2015 00:59
by Altrea
yeah, sometimes it can be such an easy thing :D