I am using xampp on my Ubuntu OS. And I need to know what version of PHP my xampp is using. How do I do that?
Try with command from terminal
sudo /opt/lampp/bin/php -v
first you have to need the version of your Xampp
Then you can check the php version from xampp website
you can't know it from command line since it's bundled inside the Xampp