Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: How to remove Apache 2.2.3 from Windows XP |
|
Author |
|
AMN
Joined: 01 Sep 2007 Posts: 4
|
Posted: Sat 01 Sep '07 1:15 Post subject: How to remove Apache 2.2.3 from Windows XP |
|
|
I am new to Apache, PHP and MySQL. I am trying to go for a fresh copy of either Apache 2.2.3 or 2.2.4. after which I intend to reinstall php as you have instructed in one of the posts on your forum.
I wonder if you can please help me remove the Apache 2.2.3 which I currently have on my system and is giving problems in removal.
I am getting a certain error that I dont know how to fix.
--------------------------------------------------
"C:\Program Files\Apache Software Foundation\Apache2.2\bin>httpd -k uninstall
[Fri Aug 31 18:02:12 2007] [error] (OS 2)The system cannot find the file specifi
ed. : No installed service named "Apache2".
C:\Program Files\Apache Software Foundation\Apache2.2\bin>"
--------------------------------------------------
Can you please help me?
Thanks for all helpful hints. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Sat 01 Sep '07 9:10 Post subject: |
|
|
The name of the service is not Apache2, but Apache2.2
so you may try httpd -k uninstall -n Apache2.2 or maybe httpd -k uninstall -n "Apache2.2" |
|
Back to top |
|
AMN
Joined: 01 Sep 2007 Posts: 4
|
Posted: Tue 04 Sep '07 0:57 Post subject: |
|
|
Thank you very much.
I was able to remove the Apache2 old version as you advised. I uninstalled the service as you suggested, later also removed it from the windows control panel.
Then I followed Steffen's setup instructions for fresh Apache2.2.4 setup. Downloaded and extracted the version from apachelounge, then put it in some c:\apache2 folder. (I could not get the Apache Monitor; i must have messed up somewhere).
Then I verified the installation by starting it and then stopped the service before moving ahead. I got the page - 'It works!'.
then I tried installing the php ver. 5.2.4. Followed Steffen's advice for an older version 5.1.4, thinking that it may closely match what is needed for this newer release).
Following this way, and after adding the same lines and synchronizing the folder names in httpd.exe and the php5 folder, I still have this problem:
on my .php files, i see only a blank page on the browser. the file i tried was as follows:
--------- test.php ---------------------
<html>
<head>
<title> Connect to MYSQL through PHP5</title>
</head>
<body>
<font color="blue">
<?php
phpinfo();
echo '$date(l, F dS Y)\N' ?>
<p><h1>
<?php echo 'This is a test page for mysql_connect'?>
</h1></p>
</body>
</html>
----------------------------
now can somebody spot the errors in my scheme and also their fixes please?
as you may have noticed, i am a complete newbie for apache/ php/ mysql domains.
thanks! |
|
Back to top |
|
|
|
|
|
|