XAMPP, an acronym for Cross-Platform (X), Apache (A), MariaDB (M), PHP (P), and Perl (P), is a versatile web server solution that facilitates the development and testing of dynamic web applications. This guide will walk you through the step-by-step process of installing XAMPP on Linux, catering to users across different Linux operating systems.
Prerequisites:
Installing XAMPP on Linux:
sudo chmod +x xampp-linux-*-installer.run
to make the installer executable.
sudo ./xampp-linux-*-installer.run
.
sudo /opt/lampp/lampp start
.
http://localhost
to confirm the successful installation by viewing the XAMPP welcome page.
The default installation directory for XAMPP depends on the operating system:
To access XAMPP without reinstalling it, you can simply start the XAMPP server. The specific steps for starting the XAMPP server.
Linux:
sudo /opt/lampp/lampp start
Once the XAMPP server is started, you can access it by navigating to http://localhost in your web browser. You can also access specific XAMPP components by navigating to the following URLs:
To start XAMPP from the current directory, you can use the following command:
./lampp start
This command will start all of the XAMPP components, including Apache, MySQL, and PHP.
If you want to start only specific components, you can use the following commands:
./apachectl start
./mysql.server start
./php-fpm start
To start Xampp from the home directory.
sudo /opt/lampp/lampp start
You can create a custom launcher for the XAMPP start and XAMPP Control Panel on Kali Linux using the following steps:
sudo /opt/lampp/lampp start
sudo /opt/lampp/./manager-linux-x64.run
The start launcher will allow you to type your admin password, start XAMPP, and disappear. The XAMPP Control Panel launcher will open the XAMPP Control Panel.
I hope this helps!