Cannot get Apache and PHP to work

Discussion in 'Web Design and Development' started by Henry12321, Mar 26, 2010.

  1. Henry12321 macrumors newbie

    Mar 26, 2010
    For the last few weeks, I have been trying to get the Apache server running on my mac with PHP enabled. I am able to enable Apache, but when I try to enable PHP as well, Apache then stops working!

    I'm not really sure what to do, as all the documentation I can find doesn't actually tell you what to do if it doesn't all go according to plan.

    I feel that my httpd.conf file is wrong, as the line numbers don't match those shown in online instructions.

    Any help would be greatly appreciated, cause I'm feeling like throwing my mac against the wall atm... Don't make me get windows for web development!
  2. angelwatt Moderator emeritus


    Aug 16, 2005
    The easiest route is to use MAMP.

    If you're wanting to get it to work with the built-in PHP and Apache you'll need to describe what you've tried. From memory it's mostly about un-commenting a line in the httpd.conf file. This write-up looks pretty good.
  3. Henry12321 thread starter macrumors newbie

    Mar 26, 2010
    Thank you, MAMP is working great thank you! I don't what i've done, but i think i'll just use MAMP until i upgrade to Snow Leopard =)

Share This Page