How to Install XAMPP on Zorin OS
XAMPP is a local web server software or application using Apache, MySQL, PHP and Perl. XAMPP is usually used to run PHP-based websites such as WordPress, Laravel, Drupal, Joomla and Codeigniter. XAMPP applications can be installed on Windows, Linux and Mac OS and in this article we will install XAMPP on Ubuntu-based Zorin Linux.
How to install XAMPP on Linux Zorin OS
- Download the XAMPP installer for Linux here https://www.apachefriends.org/download.html
- Open Downloads Folder and right click open in terminal and type command
- Run the installer with the command
- The XAMPP Install Wizard will open and CLICK “Next”
- Click “Next” Until Finish
chmod 755 xampp-linux-x64-*-installer.run
sudo ./xampp-linux-x64-*-installer.run
How to run XAMPP Server
Open Terminal or press Ctrl+Alt+t Then type
sudo /opt/lampp/lampp start
Control panel GUI Open Terminal or press Ctrl+Alt+t Then type
sudo /opt/lampp/manager-linux-x64.run
To restart XAMPP server Open Terminal or press Ctrl+Alt+t Then type
sudo /opt/lampp/lampp restart
To Stop XAMPP server Open Terminal or press Ctrl+Alt+t Then type
sudo /opt/lampp/lampp stop
Setting Permissions Folder htdocs XAMPP server Open Terminal or press Ctrl+Alt+t Then type
sudo chmod -R 777 /opt/lampp/htdocs
To Uninstall XAMPP server Open Terminal or press Ctrl+Alt+t Then type
sudo /opt/lampp/uninstall
How to make XAMPP control panel launcher
- Create a new File named xampp.desktop
- copy & paste the code below
- Right-click on the xampp.desktop file and select Allow Launching
- To open right click on xampp.desktop file and select Open and enter password
gedit ~/Desktop/xampp.desktop
#!/usr/bin/env xdg-open[Desktop Entry]Name=XAMPP GUIType=ApplicationExec=sh -c "pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY sudo /opt/lampp/manager-linux-x64.run"Icon=/opt/lampp/htdocs/favicon.icoTerminal=false