I have XAMPP installed on my mac, and I want to make command line PHP use the same executable as XAMPP since I've customized that php's php.ini file.
The php binary I want is located at:
A quick check of where my CLI php is coming from says:
Casey-Flynns-MacBook-Air:~ casey$ whereis php /usr/bin/php
I've tried adding the following line to my ~/.bash_profile:
And a quick test of my $PATH global says its:
Casey-Flynns-MacBook-Air:~ casey$ echo $PATH /Applications/XAMPP//xamppfiles/bin/:/Applications/SenchaSDKTools-2.0.0-Developer-Preview/jsbuilder:/Applications/SenchaSDKTools-2.0.0-Developer-Preview/command:/Applications/SenchaSDKTools-2.0.0-Developer-Preview:/opt/local/bin:/opt/local/sbin:/sw/bin:/sw/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/X11/bin:/opt/local/bin:/usr/X11R6/bin:/Users/casey/.ec2/bin
But still when I execute 'php' from my command line it uses the binary I don't want. Anyone know what might be going on?