Open file dependency profile of Mac:
Now enter the following linese and save the file from your editor vi or nano:
export XAMPP_HOME=/Applications/XAMPP
export PATH=${XAMPP_HOME}/bin:${PATH}
export PATH
Now refresh the terminal and check path using the following command staying in the same terminal without closing:
exec $SHELL -l;
which php
No comments:
Post a Comment