Xampp Linux

index

installation

first, you need to downlod xampp for linux

Now, make a downloded file exicutable:

 chmod +x xampp-linux-x64-8.0.7-0-installer.run

launch the installation file as root user:

sudo ./xampp-linux-x64-8.0.7-0-installer.run

Creating Shortcut for command line

Question answerd on askubuntu

we using linking default xampp file to local fin

sudo ln -s /opt/lampp/xampp /usr/local/bin

How to use

Changing htdocs directory

for changing directory we also use linking method.

  1. move all `/opt/lampp/htdocs' files to your new directory
  2. Use below command.
sudo rm -r /opt/lampp/htdocs
sudo ln -s ~/Documents/Learn/WEB/localhost/htdocs/ /opt/lampp/