Forum Moderators: phranque

Message Too Old, No Replies

Installing Apache Web Server

         

andy_M

7:03 pm on Jul 12, 2012 (gmt 0)

10+ Year Member



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.