Open XAMPP Control Panel, hit on the "Help" button and then "View ReadMe" ... It'll open a Notepad file having the first line as:
"###### ApacheFriends XAMPP Version x.y.x ######"
where x.y.z is the XAMPP version!
Answer from user3310092 on Stack OverflowOpen XAMPP Control Panel, hit on the "Help" button and then "View ReadMe" ... It'll open a Notepad file having the first line as:
"###### ApacheFriends XAMPP Version x.y.x ######"
where x.y.z is the XAMPP version!
Go to uninstall software if you are on windows and there you will see the version of your xammp.

Put this in your root directory:
<?php
phpinfo();
?>
Save it as phpinfo.php and point your browser to it (this could be http://localhost/phpinfo.php)
- More information (you can get much more information than just the version).
- Example (random image):

Try with command from terminal
sudo /opt/lampp/bin/php -v
htdocs - How to know the version of PHP is used on xampp? - Stack Overflow
Trying to find my XAMPP local host.
Is XAMPP for beginners or is XAMPP used by professionals as local dev environment?
Unable to get MySQL Database running using XAMPP 7.2.34-0 on MacOS Catalina
Videos
Run in command line
<xampp_dir>\apache\bin\httpd -v
It prints Apache version.
For example I had installed XAMPP to C:\Aplikace\xampp directory and type into Command Line
C:\Aplikace\xampp\apache\bin\httpd -v
that responsed

- Go to xampp folder where you installed xampp
- Find apache?
- xampp->apache->bin->httpd->right click->properties->details->version find php version in xampp
- xampp control panel which, after the complete installation, contains start, stop, config, etc.
- There you find shell-> click->type php-v
- mariaDB version in xampp?
- Type localhost/phpmyadmin after installation on url
- Find sql
- Type select version(); and hit enter
If you are using new version of xampp.
Try http://localhost/dashboard/phpinfo.php
Put this code in your root directory or htdocs folder of xampp:
<?php phpinfo(); ?>- Save it as phpinfo.php and point your browser to it (this could be http://localhost/phpinfo.php)
- Example: random image (Click Here)
Here's what I found:
You should be able to find this in the log called 'catalina.out'. Alternatively, you can go right to the source; open $TOMCAT_HOME/server/lib/catalina.jar in a tool capable of handling zip or jar files, and read the file called org/apache/catalina/util/ServerInfo.properties.
That last bit is not guaranteed to work across multiple versions, though.
Personal opinion -- the catalina solution should be perfectly fine.
P.S. your (XAMPP) Tomcat home folder usually lies in $XAMPP/tomcat/
You can simply just start the tomcat in xampp and press admin button or navigate to localhost:8080 in browser and the tomcat homepage will show up with version details and documentation.