Skip to content

Instantly share code, notes, and snippets.

@dhavalv
Created January 24, 2017 06:45
Show Gist options
  • Save dhavalv/597c8b4d56fd1189cadd2a6e52db39f6 to your computer and use it in GitHub Desktop.
Save dhavalv/597c8b4d56fd1189cadd2a6e52db39f6 to your computer and use it in GitHub Desktop.
Xampp Installation

Xampp Installation

Download xampp Image & make executable mode then run it.

#download xampp
sudo wget https://www.apachefriends.org/xampp-files/5.6.28/xampp-linux-x64-5.6.28-1-installer.run

#make executable mode of run file
sudo chmod +x xampp-linux-x64-5.6.28-1-installer.run

# run executable file.
sudo ./xampp-linux-x64-5.6.28-1-installer.run

Set xampp bin path in environment

#export path
export PATH=$PATH:/opt/lampp/bin

#reload paths
source ~/.bashrc

Start, Stop & Restart xampp service

sudo /opt/lampp/lampp start

sudo /opt/lampp/lampp stop

sudo /opt/lampp/lampp restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment