I have installed xampp 8.0 in macbook. There is no xampp folder in "applications" folder. Xampp 8.0 is installed at
/Users/kamlesh/.bitnami/stackman/machines/xampp/volumes/root/htdocs/
phpmyadmin and phpinfo of xampp 8.0 are working in the browser. If I add a test.php file in htdocs directory then it also works in the browser.
Xampp 8.0 has php 8 version and I want to set its path in bash_profile file so that when I use "php -v" command in terminal then it should show php 8.0 version. I have set strings in bash_profile file as, but not working yet:
export XAMPP_HOME=/Users/kamlesh/.bitnami/stackman/machines/xampp/volumes/root
export PATH=${XAMPP_HOME}/bin:${PATH}
export PATH
I have also tried below settings in bash_profile file, but still not getting php 8 version in command line:
export PATH=/opt/lampp/bin:${PATH}
export PATH
Any suggestion will be highly appreciated. Thanks a lot friends.