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):

Answer from Rinzwind on askubuntu.com
🌐
Quora
quora.com › How-do-you-check-if-XAMPP-is-installed-or-not-in-Ubuntu
How to check if XAMPP is installed or not in Ubuntu - Quora
Answer (1 of 2): You have to understand this first: 1) LAMP For LAMP setup, you have to install PHP, Apache and Mysql packages separately. In LAMP you don't get anything to manage your server in GUI way. For Ex: To start apache server you have to type command in terminal. To start apache : sudo...
🌐
Apache Friends
community.apachefriends.org › board index › xampp in english (language english only!) › xampp for windows
XAMPP Control Panel should show XAMPP version. - Apache Friends Support Forum
February 12, 2020 - You can also check the PHP version by executing php -v in the XAMPP shell. There are some files having the xampp version number too, like \xampp\install\.version or \xampp\readme_en.txt
🌐
Apache Friends
apachefriends.org › faq_linux.html
XAMPP FAQs for Linux
Checking integrity of files... Restoring configuration, log and htdocs files... Checking versions... Installed: XAMPP 1.4.2 Backup from: XAMPP 1.4.2 Restoring MySQL databases... Restoring MySQL user databases... Backup complete. Have fun! You may need to restart XAMPP to complete the restore.
🌐
1Gbits
1gbits.com › home page › blog › linux tutorials › how to check the mysql version?
How to check the MySQL version?
February 1, 2025 - There are several ways to check your XAMPP MySQL version. Go to your XAMPP installation folder and find the readme en.txt file inside.
🌐
YouTube
youtube.com › watch
How to check Php Version in XAMPP - YouTube
We can check which Php version is running with current xampp server in your system. Go through video to know about how to check php version in xampp#phpversi...
Published   December 16, 2021
Find elsewhere
🌐
Apache Friends
apachefriends.org › download.html
Download XAMPP
Download XAMPP for Windows, Linux, and OS X. Older versions of Solaris are also available.
🌐
DevArt
blog.devart.com › home › products › mysql tools › how to check mysql version
How to Check MySQL Version
August 31, 2025 - Another way to check your current MySQL version in XAMPP is as follows. Navigate to the readme_en.txt file, which can be found in your XAMPP installation folder.
🌐
It's FOSS
itsfoss.com › install-xampp-ubuntu
How to Install and Use XAMPP on Ubuntu
January 1, 2023 - The next page is to select components; by default, both options will be checked. Let them as it is and click on the forward button: Next, it will tell you that the XAMPP will be installed in to /opt/lampp directory: And in the next step, the setup wizard will notify you that the setup is ready and now you can start the installation process: ... Here, you will have to create a desktop file with .desktop extension. Here, I’m going with xampp.desktop: ... [Desktop Entry] Version=1.0 Type=Application Name=XAMPP Control Panel Exec=sudo /opt/lampp/manager-linux-x64.run Icon=/opt/lampp/htdocs/favicon.ico Terminal=false StartupNotify=false
🌐
Power Plugins
power-plugins.com › home › developer guides › install and configure xampp on ubuntu
Install and configure XAMPP on Ubuntu - Power Plugins
July 8, 2023 - If you’re not sure which version to get, download “the middle one”. So in this case, we’ll grab the PHP 8.1 version. The download file name should look something like “xampp-linux-x64-8.1.17-0-installer.run” in your “Downloads” folder. ... Open a terminal and type the following so we can execute the installer. # Make the downloaded file executable chmod +x ~/Downloads/xampp-linux-*.run
🌐
VITUX
vitux.com › ubuntu-xampp
How to Install XAMPP on your Ubuntu 22.04 LTS System – VITUX
January 2, 2024 - The commands and procedures described in this article have been run on an Ubuntu 22.04 LTS system. XAMPP for Ubuntu Linux is a free, open-source web server solution stack. It packages Apache, MySQL, PHP, and Perl, simplifying website and application development.
🌐
PhoenixNAP
phoenixnap.com › home › kb › sysadmin › how to install xampp on ubuntu
How to Install XAMPP in Ubuntu {With Screenshots}
November 3, 2025 - In this tutorial, you will learn how to install XAMPP on Ubuntu, verify the installation, and uninstall the XAMPP package.
🌐
GeeksforGeeks
geeksforgeeks.org › linux-unix › how-to-install-xampp-in-linux
How to Install Xampp in Linux - GeeksforGeeks
July 23, 2025 - Here we need to select the components needs to be installed along with Xampp. There are different components like, ... If its your development machine check the developer files also, I am going with the default options that is checked both the files.
🌐
GitHub
gist.github.com › ParthaDhar › 20431463cc749863c65419dea7582061
xampp version manager for ubuntu · GitHub
Save ParthaDhar/20431463cc749863c65419dea7582061 to your computer and use it in GitHub Desktop. Download ZIP · xampp version manager for ubuntu · Raw · changexampp.sh · This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below.