Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Mork

macrumors 6502a
Original poster
Jan 9, 2009
539
34
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
 
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?
 
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
 
Luckily PHP, along with various other scripting languages (Ruby, Perl, TCL, etc.) are installed by default on Mac OSX.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.