Installing Xampp Control Panel on linux

XAMPP Control Panel

Xampp on windows has graphical interface. Although in Linix you do not need the graphical interface as everything can be accomplished using the Terminal. But sometimes its just easier to run xampp with GUI. Please follow these steps to enable gui in xampp.

Installing XAMPP

Read this article: How to install Xampp in Fedora

Open up Terminal and paste the following codes

sudo vi ~/.local/share/applications/xampp-control-panel.desktop

And paste the following code in the text editor according to you distro.

Fedora

[Desktop Entry] Comment=Start/Stop XAMPP Name=XAMPP Control Panel Exec=sudo -i python /opt/lampp/share/xampp-control-panel/xampp-control-panel.py Icon[en_US]=/usr/share/icons/Tango/scalable/actions/geany-save-all.svg Encoding=UTF-8 Terminal=false Name[en_US]=XAMPP Control Panel Comment[en_US]=Start/Stop XAMPP Type=Application Icon=/usr/share/icons/Tango/scalable/actions/geany-save-all.svg

Ubuntu

[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_US]=/usr/share/icons/Humanity/devices/24/network-wired.svg Encoding=UTF-8 Terminal=false Name[en_US]=XAMPP Control Panel Comment[en_US]=Start and Stop XAMPP Type=Application Icon=/usr/share/icons/Humanity/devices/24/network-wired.svg

Both are basically the same, the only difference is the Icon. You will see a new menu item on Application Menu >> Other >> Xampp Control Panel

Simply clicking on it will execute xampp. And from there you wiil be able to control xampp.

Xampp Control Panel Menu on Fedora XAMPP Control Panel

4 thoughts on “Installing Xampp Control Panel on linux”

      1. Make sure you are logged in as the root. And to make things easier you can use nano or gedit rather than vim. They both have a gui and much easier to use.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.