0

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.

Emanuil Rusev
  • 901
  • 3
  • 10
  • 16

1 Answers1

1

/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.

chocripple
  • 2,109
  • 14
  • 9