Results 1 to 5 of 5
  1. #1

    Member Since
    Mar 20, 2010
    Exclamation Apache and PHP Help (Accessing Root Directory)

    I have spent the past week trying to enable PHP and apache on my new Mac. All the sites that I go to tell me to go the the directory etc/apache2/httpd.conf. However I cannot find this directory.

    I am running Mac OS X Snow Leopard, not Snow Leopard Server. I don't know if that is a problem. Please help me I am exhausted with this problem.

    Thanks in Advance


  2. #2

    Raz0rEdge's Avatar
    Member Since
    Jul 17, 2009
    27" i7 iMac, 15" Macbook Pro TB, 13" Macbook Air, iPhone 6S, iPod Nano 7th Gen
    Apache is available on Snow Leopard, so not sure why you don't see it. Go to System Preferences->Sharing and you can enable Web Sharing there. That should get Apache running..but you still need to modify the httpd.conf file to enable PHP support..


  3. #3

    Member Since
    Mar 20, 2010
    I have managed to enable apache but I cannot find the httpd.conf file. I cannot find the directory /etc/apache...

    Any ideas?


  4. #4

    kciss's Avatar
    Member Since
    Mar 19, 2010
    Very Much on the south coast of the UK
     MacBook Pro Uni, 2.4GHz 4GB, 128 Samsung SSD
    finding your folder
    Hi there. The folder you are looking is hidden.. but it is there. What you need to do to locate it is..While in finder, go to the menu bar, and click on

    >GO>Go To Folder.

    In the box that pops up, type in /etc/apache2/ and that will open the folder containing the httpd.conf. file.

    Hope that helps.

  5. #5

    Member Since
    Feb 15, 2010
    Or, you can open up Terminal, and type pico /etc/apache2/httpd.conf.

    it's should be there.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Apache and PHP
    By giszzmo in forum macOS - Operating System
    Replies: 3
    Last Post: 09-24-2011, 04:16 PM
  2. Resetting PHP and Apache
    By Dashman in forum macOS - Operating System
    Replies: 4
    Last Post: 11-19-2007, 05:35 AM
  3. Apache and root folders
    By moonraker in forum Web Design and Hosting
    Replies: 3
    Last Post: 06-09-2005, 03:43 AM
  4. All in 1; php/apache/mysql ?
    By gab1982 in forum Running Windows (or anything else) on your Mac
    Replies: 5
    Last Post: 08-31-2004, 03:41 PM
  5. Apache/PHP
    By psychotoe in forum macOS - Development and Darwin
    Replies: 2
    Last Post: 08-12-2004, 06:10 PM

Posting Permissions

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