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, 24" iMac, 13" Macbook Air, iPhone 5 & 5S, iPod Nano 7th Gen, iPad 2 16GB WiFi, iPad 3
    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 OS X - Operating System
    Replies: 3
    Last Post: 09-24-2011, 05:16 PM
  2. Resetting PHP and Apache
    By Dashman in forum OS X - Operating System
    Replies: 4
    Last Post: 11-19-2007, 06:35 AM
  3. Apache and root folders
    By moonraker in forum Web Design and Hosting
    Replies: 3
    Last Post: 06-09-2005, 04: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, 04:41 PM
  5. Apache/PHP
    By psychotoe in forum OS X - Development and Darwin
    Replies: 2
    Last Post: 08-12-2004, 07: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