Good morning all, I have a little problem with variable $PATH in my .bash_profile file.
I have an OSX system with XAMPP installed. I have edit my .bash_profile in this way:
export XAMPP_HOME="/Applications/XAMPP/xamppfiles"
export PATH="${XAMPP_HOME}/bin/php-5.4.22:${PATH}"
export PATH="$PATH:/Users/alessandrominoccheri/Sites/site.com/lib/Cake/Console"
export PATH
After I have restart apache and write into console:
source ~/.bash_profile
and type:
which php
But always return me:
/usr/bin/php
How can I change path? I have changed permission on bin folder but same problem. I have followed this link but I have the same problem: