When I execute which php
in Bash I get /usr/bin/php
. Everything is working fine but I'm wondering - since I'm running XAMPP, should I get /Applications/XAMPP/xamppfiles/bin
instead?
Note: I'm using OSX 10.7.
When I execute which php
in Bash I get /usr/bin/php
. Everything is working fine but I'm wondering - since I'm running XAMPP, should I get /Applications/XAMPP/xamppfiles/bin
instead?
Note: I'm using OSX 10.7.
/usr/bin/php mean it's php default installed on macos, for xampp it should be on /Applications/XAMPP/xamppfiles/bin. if you want use php version from xampp, you can disabled /usr/bin/php and make symlink /Applications/XAMPP/xamppfiles/bin/php to /usr/bin/php.