Snow Leopard - Where is "PHP HOME"

Discussion in 'macOS' started by Mork, Jul 25, 2010.

  1. Mork macrumors 6502

    Joined:
    Jan 9, 2009
    #1
    I have a software development environment (Intellij IDEA 9) on my iMac that's asking for the location of PHP Home.

    I'm not sure where PHP is installed or how to correctly reference it. Intellij is just looking for a folder I believe.

    Any help would be greatly appreciated.

    Thanks.

    - M
     
  2. stomer macrumors 6502a

    Joined:
    Apr 2, 2007
    Location:
    Leeds, UK
    #2
    Open up terminal.app, type 'which php', perhaps that's the location IntelliJ is looking for?
     
  3. Mork thread starter macrumors 6502

    Joined:
    Jan 9, 2009
    #3
    Cool command, I didn't know about "which".

    In any case, that directory, /usr/bin/php, is empty.

    Do I need to download/install PHP or is it on the Mac CD or something better?

    Thanks again in advance.

    - M
     
  4. Mork thread starter macrumors 6502

    Joined:
    Jan 9, 2009
  5. stomer macrumors 6502a

    Joined:
    Apr 2, 2007
    Location:
    Leeds, UK
    #5
    Luckily PHP, along with various other scripting languages (Ruby, Perl, TCL, etc.) are installed by default on Mac OSX.
     

Share This Page