Solved

how to uninstall apache2 on windowsXP??

Posted on 2006-07-06
3
524 Views
Last Modified: 2012-06-21
first I installed IIS 5.
then I want to use apache, so I installed  apache2.
now I want to uninstall apache to use IIS.
I stoped service apache2 but when I go to localhost, I dont have error:

There is no website configured at this address.
You are seeing this page because there is nothing configured for the site you have requested. If you think you are seeing this page in error, please contact the site administrator or datacenter responsible for this site.

how can I uninstall apache and use IIS again???
0
Comment
Question by:tatamaruri
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 10

Expert Comment

by:jagadeesh_motamarri
ID: 17050002
Follow these steps:

   1. To uninstall Apache as a service, open a Command Prompt window.
   2. Navigate to default Apache installation directory, or wherever apache.exe is located. For Example, C:\Program Files\Apache Group\Apache2\bin.
   3. At the command prompt, type 'apache -k uninstall' without the quotes.
   4. Close the Command Prompt window.
   5. Go to Windows Services and check that Apache2 is no longer listed as a service.
   6. Navigate to Add/Remove Programs in the Control Panel.
   7. Uninstall 'Apache HTTP Server 2.0.42' by clicking Remove.
   8. Delete the Apache installation directory in Windows Explorer. For example: C:\Apache.

Source URL: http://support.esri.com/index.cfm?fa=knowledgebase.techarticles.articleShow&d=23569

____Jags
0
 

Author Comment

by:tatamaruri
ID: 17050032
I dont have file apache.exe in C:\Program Files\Apache Group\Apache2\bin.
I also dont have Apache HTTP Server 2.0.42 in Add/Remove Programs in the Control Panel
and the version of apache is DeveloperSide.NET httpd 2.2 Web-Server Suite, v1.17 standard (I downloaded at: http://www.devside.net/web/server/free/download)
0
 
LVL 13

Accepted Solution

by:
PraxisWeb earned 500 total points
ID: 17050407
Try this...


First, you need to stop the service this can be done by issuing the command in the directory shown below:
\www\Apache22\bin> httpd -k stop

or from the command prompt just issue 'NET STOP Apache2'

Next, you will need to uninstall the Apache2 Service:
\www\Apache22\bin> httpd -k uninstall

Depending on the Install you performed you may also need/want to kill off Tomcat

(1) Stop Service Tomcat5
> NET STOP Tomcat5

(2) Uninstall Service Tomcat5
\www\tomcat5\bin> service.bat uninstall


If you installed the full Suite the instructions to remove are:

Instructions -- Uninstalling the DeveloperSide.NET Web-Server Suite
*NOTE that no traces of the Web-Server Suite package will be left; no Registry setting were modified nor any files placed/modified outside the \www structure (except for my.ini and php.ini).

(all commands are run from the command-line; Start » Run... » cmd.exe <Enter>)
(to change to a specified directory, type 'cd c:\www\...' <Enter>)

(1) Stop the Apache2 and MySQL services...

> NET STOP MySQL
> NET STOP Apache2

(2) Uninstall the Apache2 and MySQL services...

\www\mysql\bin> mysqld-nt --remove
\www\Apache22\bin> httpd -k uninstall

(3) Unregister mod_aspdotnet...
Run script 'UnRegister-mod_aspdotnet.bat' from the \www\Apache22\bin\ directory.

(4) Delete the my.ini and php.ini files from your %SystemRoot% (Win2000 -> C:\WINNT, WinXP -> C:\Windows) directory.

(5) Remove the added directories from the System PATH variable...

Go to Settings » Control Panel » System » Advanced » Environment Variables... » System variables » Path
Remove from Path:
<drive:>\www\openssl\bin;<drive:>\www\Apache22\bin;<drive:>\www\php5;<drive:>\www\mysql\bin;
<drive:>\www\perl\bin;<drive:>\www\tomcat5\bin

(6) Delete the <drive:>\www directory
*NOTE that this will delete data you might want to save: your Webroot/DocumentRoot directory, MySQL's database data, and Apache2's configuration files.
Instead of deleting this directory, a better choice would be to rename it to 'www-old' or any other name.

(7) To unistall the Java JDK and Runtime...
Go to Settings » Control Panel » Add/Remove Programs
Remove:
J2SE Development Kit 5.0 Update 7
J2SE Runtime Environment 5.0 Update 7

(8) Remove file (if present) libmysql.dll from your %SystemRoot% (Win2000 -> C:\WINNT, WinXP -> C:\Windows) directory.
questions,errors,comments : e-mail admin@dev

REF: http://www.devside.net/web/server/free/setup/instructions (down at the bottom)
0

Featured Post

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question