View Single Post
Old 10-02-2012, 03:40 AM   PM User | #5
mke48
New to the CF scene

 
Join Date: Oct 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
mke48 is an unknown quantity at this point
Quote:
Originally Posted by Fou-Lu View Post
Start by verifying that you do not have the services with the windows services mmc, or by running an sc query. The name itself is no good, but you could have the service installed as an alternate name. I can see this being a problem if you didn't explicitly run the msi by right clicking and choosing run as administrator (assuming windows 7 or server 2008+).
You can easily create the service on the cli by running as administrator and going to the HTTPD.exe location and running: httpd.exe -k install. You may want to name it using the -n flag. That makes it easier to modify and control from the cli. This will also create the service required in windows.

Hopefully that works; I've never installed apache from an msi, but it seems to me that it probably lacked the privilege to generate the new service during installation.
by running sc query for 'apache 2.2', I got the message "[sc] EnumQueryServicesStatus: OpenService FAILED 1060:
The specified service does not exist as an installed service"

What is the 'cli'? How do I run it as an administrator and then go the httpd.exe location? Should I just uninstall and then re-install apache? I need apache so I can use php
mke48 is offline   Reply With Quote