Skip to content Skip to sidebar Skip to footer

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

  1. Download the XAMPP installer for Linux here https://www.apachefriends.org/download.html
  2. Open Downloads Folder and right click open in terminal and type command
  3. chmod 755 xampp-linux-x64-*-installer.run
  4. Run the installer with the command
  5. sudo ./xampp-linux-x64-*-installer.run
  6. The XAMPP Install Wizard will open and CLICK “Next”
  7. Click “Next” Until Finish

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

  1. Create a new File named xampp.desktop
  2. gedit ~/Desktop/xampp.desktop
  3. copy & paste the code below
  4. #!/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
  5. Right-click on the xampp.desktop file and select Allow Launching
  6. To open right click on xampp.desktop file and select Open and enter password