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: How Do you unistall Apache on XP Home edition?
Author
BEEDO



Joined: 21 Apr 2011
Posts: 4
Location: Kitsap County, WA USA

PostPosted: Wed 18 May '11 22:44    Post subject: How Do you unistall Apache on XP Home edition? Reply with quote

I have Apache version: httpd-2.2.17-win32-x86-no_ssl.msi I downloaded weeks ago and have had trouble with the php (download: php-5.2.17-Win32-VC6-x86.msi) which is an old version anyway, so I thought I might have better luck with the method often recommended in this forum which is to use the Fast Reliable... http://www.apachelounge.com/viewtopic.php?t=2394

The part that gives me pause is:

Quote:
IF YOU PREVIOUSLY INSTALLED APACHE USING A MSI FILE THEN (otherwise skip down to CONTINUE section):
I have not tested Apache Software Foundation (ASF) MSI installation applications lately, but the last time I tested the MSI FAILED to remove to some things that can cause problems later on during the Un-Install process. BEFORE you UN-INSTALL the MSI file, open a command prompt and navigate to the BIN folder of Apache. Now, uninstall the service:

httpd -k uninstall

Now that the service is removed, uninstall Apache and then ALL PHP entries (files [php5ts.dll and others depending on what each person has done in the past] that you copied from where ever to where ever - usually into the Windows\System32 folder).


Because I have XP Home edition it SEEMS that I am limited to what I can do as a command prompt. There is a kind of catch-22 if I need to "run as administrator" because I can only do that in safe mode and in that mode I don't have access to everything. I believe I cannot issue the httpd -k uninstall command (at least not the way I think it should be done). I don't want left over pieces causing trouble so I was wondering if I could just do a system restore to a time before the download? Or do I have to just use the uninstall feature and then hunt down the survivors? Is it just a particular thing I need to get rid of and can it be done another way? What do you recommend?
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Thu 19 May '11 3:31    Post subject: Reply with quote

Uninstalling the ASF's msi will leave behind all files added since the install, so logs mainly. It will leave behind the conf and htdocs folder as well. It will also leave behind some registry entries but I do not see that being of much concern.

If you follow Jame's setup, you will be putting Apache in C:\Apache2, so there should be no conflict there. You will be able to use your old config provided you modify it to use this new ServerRoot and put it in the new conf folder. Now aren't you happy unistalling it did not remove it? You will after that point never have to type that huge long C:/program files/blah blah blah again either. I personally put my sites under say C:/home/site1, C:/home/site2 etc. and just keep that stuff away from Apache's folder tree, less likely to have an OOPS when upgrading Apache. But that's just me.
Back to top


Reply to topic   Topic: How Do you unistall Apache on XP Home edition? View previous topic :: View next topic
Post new topic   Forum Index -> Apache