Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache Still not Working

Status
Not open for further replies.

ironfoot495

Technical User
May 24, 2006
3
US
I have been trying to install Apache, PHP and MySQL on my XP machine.

At first I had Apache and PHP working but kept having MySQL problems.

I went to a bunch of other boards, posted, followed the feedback and really got screwed up where nothing worked. Finally out of desperation, I remove all the programs, and started re-installing.

Now after I install Apache I always get this error:
Quote:
[error] (OS 2)The system cannot find the file specified. : No installed service named "Apache2".


This acts like a Windows registry problem, but when I open the registry in REGEDIT, I can see the entries for Apache there. I even went so far, on the last install, to clean out all Apache entries in the registry.

I am install 2.0.55 with the MSI file and I think there is something missing in that install library set, causing this error, but not sure.

Too green on Apache to know.

Can I get some help, I'm loosing my mind on this!

Carter
 
Once you install apache using the installer, You still need to install it as a service on your machine. I don't run windows but I think the command is:

Code:
httpd -k install

This will install a service called Apache2 (default). If you want to give the service your own name, then use the "-n" option:

Code:
httpd -k install -n MyServer

If you've been trying to install these individually, You may want to look into a WAMP package. They come with apache, MySQL and php already configured to run on windows.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top