Find the answer to your Linux question:
Results 1 to 3 of 3
I search through the forum ('removing apache') but I couldn't find a solution to my problem. I run RH Enterprise Linux WS version 4 and it does not come any ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2005
    Posts
    33

    Removing Apache


    I search through the forum ('removing apache') but I couldn't find a solution to my problem.

    I run RH Enterprise Linux WS version 4 and it does not come any default webserver. So I downloaded and installed from a TAR Ball.

    I installed Apache2 at '/usr/local/apache2'. I also instaledl PHP at '/usr/local/etc/PHP-5.1.1'. It to from a TAR ball.

    I issued a 'rpm -qa | grep apache'
    'rpm -qa | grep apache*'
    'rpm -qa | grep http*'

    just to make sure. Of course they return nothing since I didn't download through Red Hat.

    My idea is to issue a 'rmdir' command to delete both Apache and PHP. Once gone, I'd download the TAR Balls and reinstall in different locations.

    Does anyone see a problem with this plan?

  2. #2
    Linux Guru bryansmith's Avatar
    Join Date
    Nov 2004
    Location
    /Ontario/Canada
    Posts
    2,619
    If you compiled from source, you can possibly go to the source directory and issue (as root): make uninstall

    I don't know much about apache or php but they could likely have configuration files in other places as well (i.e. apache/php may not be entirely contained in the directory).

    Bryan
    Looking for a distro? Look here.
    "There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
    Queen's University - Arts and Science 2008 (Sociology)
    Registered Linux User #386147.

  3. #3
    Just Joined!
    Join Date
    Mar 2005
    Posts
    33
    I'll have to download the TAR Ball again untar and see if uninstall works.

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •