PHP Folder on Mac OS X


#1

Hello,

I’m using the default apache and php5 of my Mac OS X and I’m looking for the location of the php folder. Did some research on Google, but didn’t gave much.

I need this to make an alias for the Drupal Drush, so that I can use the drush command lines from anywhere instead of going first to the drush folder.

I know with MAMP it’s in the /Applications/MAMP/php , but I’m using the default built in solution and I don’t want to switch to MAMP only for this :P.

Anyone knows where this PHP folder is located?

Thanks!


#2

use spotlight and search for php.ini


#3

php.ini is located in /etc, so I should point it to just /etc?


#4

On linux which is kinda similar to mac it’s all in /var/www