Results 1 to 4 of 4

Thread: How do i stop Apache/2.2.4 (Ubuntu)

  1. #1
    Join Date
    Jun 2008
    Beans
    84

    How do i stop Apache/2.2.4 (Ubuntu)

    Hi

    The Apache/2.2.4 (Ubuntu) PHP/5.2.3-1ubuntu6 Server at localhost Port 80 is running at my computer by default. I want to run Xampp. how do i stop Apache/2.2.4 (Ubuntu), also the command line in terminal.

  2. #2
    Join Date
    Dec 2006
    Location
    Chicago
    Beans
    3,839

    Re: How do i stop Apache/2.2.4 (Ubuntu)

    Quote Originally Posted by masoud23 View Post
    Hi

    The Apache/2.2.4 (Ubuntu) PHP/5.2.3-1ubuntu6 Server at localhost Port 80 is running at my computer by default. I want to run Xampp. how do i stop Apache/2.2.4 (Ubuntu), also the command line in terminal.
    To stop apache
    Code:
    sudo /etc/init.d/apache2 stop
    To disable apache from starting automatically
    Code:
    sudo update-rc.d -f apache2 remove
    To remove apache
    Code:
    sudo apt-get remove apache2 apache2.2-common

  3. #3
    Join Date
    Oct 2007
    Beans
    25
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: How do i stop Apache/2.2.4 (Ubuntu)

    reload or restart will restart the instance if you decide to reload the service at some juncture.
    david.

  4. #4
    Join Date
    Dec 2006
    Location
    Chicago
    Beans
    3,839

    Re: How do i stop Apache/2.2.4 (Ubuntu)

    Quote Originally Posted by davidshq View Post
    reload or restart will restart the instance if you decide to reload the service at some juncture.
    david.
    restart = stop then start
    reload = re-read vhost configuration and re-open log files
    start = start apache from a stopped state

Bookmarks

Posting Permissions

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