Install XAMPP on Linux
First of all, needless to say, download xampp from the official website:
Make sure that the file you just downloaded has execute permissions. Open the terminal making sure you are in the same directory as the .run file, run this command:
You could starting to type 'xampp-' and press -> tab to autocomplete.
If the terminal does not respond after the above command, it is a good signal, it means that Linux has done its homework.
Now run the package with administrator permissions (required)
Once the command has been executed, the XAMPP Wizard Setup will appear to make everything easier.
Click on Next. You will be able to select the components to be installed, it is recommended to keep the default settings.
The installation wizard will show you where it will install XAMPP
After setting everything up xampp, starts the actual installation process and may take a while.
Once the process is finished, a graphical Manager will open where you can start, restart and stop the servers.
This is possible by going to the Manage Servers tab at the top.
Click on Start All if you want to start MySQL Database, ProFTPD, and Apache Web Server.
Once the status will be in Running you can check on your browser:
you will also have phpmyadmin already available
Remember that in order to view your project in Apache, you need to move it to the folder
Now everything is ready, enjoy!