Snow Leopard - Where is "PHP HOME"

Mork

macrumors 6502
Original poster
Jan 9, 2009
425
14
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
 

stomer

macrumors 6502a
Apr 2, 2007
606
1
Leeds, UK
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
Open up terminal.app, type 'which php', perhaps that's the location IntelliJ is looking for?
 

Mork

macrumors 6502
Original poster
Jan 9, 2009
425
14
Open up terminal.app, type 'which php', perhaps that's the location IntelliJ is looking for?
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
 

stomer

macrumors 6502a
Apr 2, 2007
606
1
Leeds, UK
Luckily PHP, along with various other scripting languages (Ruby, Perl, TCL, etc.) are installed by default on Mac OSX.