Apache 2.4.10 86

Started by MichaelA, January 17, 2015, 04:36:30 PM

Previous topic - Next topic

MichaelA

Have downloaded above version to use on windows 8.1 but having problem accessing console to start Apache. Used Apache before with XP but as that no longer works have had to buy new computer with windows 8.1. Having trouble getting going . Can anyone help please.

Gregg

I'm assuming you downloaded and installed the C++ Redistributable as described in the included readme.

At the console if you type just httpd and press enter does it at least start or does it show errors?
If it starts and runs then shut Apache down (Ctrl+C) and move on to installing the service.

To install a service on Windoze 8/8.1 you have to be able to start the console using "Run as Administrator."
The problem I ran into with 8.1 is that there was no way to run the console as administrator (maybe the dumbest move I've ever seen Microsoft make). How I eventually got it was to add a icon for the console on the desktop which I could then right-click on so I could choose "Run as Administrator."

right-click on empty area on desktop
choose new -> shortcut
type CMD in the location box and click next
Change cmd.exe to Command Prompt in the box and press finish.

On the desktop, right-click your new Command Prompt and choose "Run as Administrator" and OK the security warning.

Now cd to the apache/bin folder as you did in XP and install the service with httpd -k install.
You can then start Apache with httpd -k start