#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2008
    Posts
    4
    Rep Power
    0

    Cool Installing Apache


    HI Team,

    I am using an I Mac running Mac OS 10.8.6 version and have installed the following :-


    Last login: Thu Jul 12 18:15:42 on console
    Andrew-Masons-iMac:~ andrewmason$ httpd -v
    Server version: Apache/2.2.20 (Unix)
    Server built: Sep 12 2011 17:42:56
    Andrew-Masons-iMac:~ andrewmason$ php -v
    PHP 5.3.6 (cli) (built: Sep 12 2011 18:02:42)
    Copyright (c) 1997-2011 The PHP Group
    Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
    Andrew-Masons-iMac:~ andrewmason$ /usr/local/mysql/bin/mysql --version
    /usr/local/mysql/bin/mysql Ver 14.14 Distrib 5.5.17, for osx10.6 (i386) using readline 5.1
    Andrew-Masons-iMac:~ andrewmason$ sudo apachectl graceful
    Password:
    Sorry, try again.
    Password:
    Andrew-Masons-iMac:~ andrewmason$ sudo apachectl graceful
    Andrew-Masons-iMac:~ andrewmason$ sudo apachectl graceful
    Andrew-Masons-iMac:~ andrewmason$ sudo apachectl start
    Password:
    org.apache.httpd: Already loaded
    Andrew-Masons-iMac:~ andrewmason$ cd /private/etc/httpd
    -bash: cd: /private/etc/httpd: No such file or directory
    Andrew-Masons-iMac:~ andrewmason$

    When starting Apache why does it not tell me it has started and also I am unable to locate my httpd files.

    Please help.

    Thanks.
  2. #2
  3. No Profile Picture
    Lost in code
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 2004
    Posts
    8,316
    Rep Power
    7171
    It says its already started.

    You can check in the Apache config file to see where your web files are stored. On Linux that file is normally in /etc/apache2 or /etc/httpd. On Linux the default is /var/www. I don't know about Mac.
    PHP FAQ

    Originally Posted by Spad
    Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around

IMN logo majestic logo threadwatch logo seochat tools logo