logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Problems using Command Prompt Uninstall/Reinstall
Author
bigbdog



Joined: 07 Aug 2008
Posts: 2

PostPosted: Thu 07 Aug '08 5:34    Post subject: Problems using Command Prompt Uninstall/Reinstall Reply with quote

I'm very new to setting up a WAMP and have been surfing the web trying to find up to the date info on setting up apache and php and came across this gem. I was feeling pretty good when I found out about the How-to's & Documentation & Tips.


I read through what James Blond had said about how to set up Apache and I hit a major bump as soon as it said that if you install Apache with MSI you need to open command prompt and navigate to the bin and type httpd -k uninstall.


I have never navigated through command prompt so I went to http://www.cati.com/articles/Article5_3af.htm and found a way to navigate to the bin folder at the command prompt screen. I then type httpd -k uninstall in command prompt and this is what shows up


--------------------------------------------------------------------------------------
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Program Files\Apache Software Foundation\Apache2.2>httpd
'httpd' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files\Apache Software Foundation\Apache2.2>
--------------------------------------------------------------------------------------


I have installed Apache once before through MSI and ended up uninstalling Apache through Control Panel -> Add or Remove Program. After the uninstallation was done, I would go into the C drive and manually remove the Apache folder that was left. I'm pretty sure this isn't the professional way of doing it so I wanted to use the way James Blond recommended this time around. The problem though is I cant get the commands to work Sad.


I don't know if uninstalling PHP is the same as Apache or if you can just go in and delete the files and your good to go.


I've downloaded apache_2.2.9-win32-x86-openssl-0.9.8h-r2.msi and installed it. I've also downloaded httpd-2.2.9-win32-x86-ssl.zi and unzipped it on my computer but a couple days back went in and manually deleted the directory. I downloaded and installed Microsoft Visual C++. The OS that I'm trying to run Apache on is Windows XP Professional.

I hope that this is enough information to go by and its not too jumbled up. I really want to go by what James Blond set up as a tutorial and hope that if this can be resolved I can hit the ground running on the other parts. I'm pretty illiterate when it comes to this stuff so please bare with me on my stupidity. Thank you again for reading this and taking time to come up with a solution in advanced.
Back to top
PipoDeClown



Joined: 20 Dec 2005
Posts: 77

PostPosted: Thu 07 Aug '08 9:31    Post subject: Reply with quote

Code:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Program Files\Apache Software Foundation\Apache2.2>cd bin

C:\Program Files\Apache Software Foundation\Apache2.2\bin>httpd -h
Back to top
bigbdog



Joined: 07 Aug 2008
Posts: 2

PostPosted: Mon 11 Aug '08 3:12    Post subject: Reply with quote

I got command prompt to recognize httpd. My new problem is starting up Apache with httpd.exe so i can install it as an application. This is the code that I typed in.

Code:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Apache2>httpd.exe
Access is denied.

C:\Apache2>


after I type httpd.exe and click Enter, I get an error message that comes up saying this.

Code:
C:\Apache2\httpd.exe is not a valid Win32 application.


I've done some research on why this message is coming up and it seems that people are saying out there that it is:

1. Your computer isn't updated enough
2. Files Corrupt

I've downloaded Visual C++ Redistributed and Ive gone and even checked for new updates to my computer but nothing seems to be working.
Back to top


Reply to topic   Topic: Problems using Command Prompt Uninstall/Reinstall View previous topic :: View next topic
Post new topic   Forum Index -> Apache