Skip to content

Instantly share code, notes, and snippets.

@vubon
Created June 6, 2017 09:15
Show Gist options
  • Save vubon/610c134e6f29470ade94f55beefd67e6 to your computer and use it in GitHub Desktop.
Save vubon/610c134e6f29470ade94f55beefd67e6 to your computer and use it in GitHub Desktop.
Install New version xampp in your Ubuntu machine
First go to here https://www.apachefriends.org/download.html
Now copy the url
You will get the URL like this
https://www.apachefriends.org/xampp-files/7.1.4/xampp-linux-x64-7.1.4-0-installer.run
Now open your terminal and run the following command
wget https://www.apachefriends.org/xampp-files/7.1.4/xampp-linux-x64-7.1.4-0-installer.run
After that run this
sudo su
Next Step bellow these
chmod +x xampp-linux-x64-7.1.4-0-installer.run
./xampp-linux-x64-5.6.20-0-installer.run
Now you can run the xampp by this command
sudo /opt/lampp/lampp start
If you want to stop then just replace the start to stop word :P
all right, Now we need to give permission for accessing htdocs folder and where you can create file and folder.
you can give permission htdocs fodler by this command
sudo chmod -R 777 /opt/lampp/htdocs
Last Step you need to restart your xampp .
you can do it by this command
sudo /opt/lampp/lampp restart
That's all my dear fans :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment