install in terminal
And click “Next” until Finish
sudo chmod +x xampp-linux-x64-5.6.11-0-installer.run sudo ./xampp-linux-x64-5.6.11-0-installer.run
start the XAMPP service
sudo /opt/lampp/lampp start
oropen Xampp control panel GUI in Ubuntu, open the terminal and paste the following code
sudo gedit ~/.local/share/applications/xampp-control-panel.desktop
paste the following code to the text editor and save it
[Desktop Entry]
Comment=Start and Stop XAMPP
Name=XAMPP Control Panel
Exec=gksudo python /opt/lampp/share/xampp-control-panel/xampp-control-panel.py
Icon[en_CA]=/usr/share/icons/Humanity/devices/24/network-wired.svg
Encoding=UTF-8
Terminal=false
Name[en_CA]=XAMPP Control Panel
Comment[en_CA]=Start and Stop XAMPP
Type=Application
Icon=/usr/share/icons/Humanity/devices/24/network-wired.svg
You can access the xampp control planel in Application "XAMPP Control Panel" and start XAMPP
paste the following code to the text editor and enter
sudo su
chmod 775 /opt/lampp/htdocs
Open localhost in web browser