How to Install XAMPP on Ubuntu

Last updated on December 3rd, 2019 at 05:26 pm.

How to Install Xampp on Ubuntu

Watch the video above for the step by step installation guide .

Install #xampp on #Ubuntu

STEP 1
Download Xampp

STEP 2
Install Xampp .
sudo ./path

STEP 3 (Optional )

Stop Nginx (if you have it installed and running)

sudo systemctl stop nginx.service

STEP 4 (Optional)
Remove xampp
sudo /opt/lampp/uninstall

Remove nginx
sudo systemctl stop nginx.service
udo systemctl disable nginx.service

sudo rm -rf /etc/nginx /var/log/nginx /var/cache/nginx

STEP 5
Change Ownership
chown user:group filename

do the following if you don’t know your current username
sudo chown -R $USER:$USER filename

START & STOP XAMPP

START
sudo /opt/lampp/lampp start

STOP
sudo /opt/lampp/lampp stop

START XAMPP GUI

sudo /opt/lampp/manager-linux-x64.run

Starting SPECIFIC SERVICES

start – Start XAMPP (Apache, MySQL and eventually others)

startapache – Start only Apache

startmysql – Start only MySQL

startftp – Start only ProFTPD

Stopping SPECIFIC SERVICES

stop – Stop XAMPP (Apache, MySQL and eventually others)

stopapache – Stop only Apache

stopmysql – Stop only MySQL

stopftp – Stop only ProFTPD
Restart

reload – Reload XAMPP (Apache, MySQL and eventually others)

reloadapache – Reload only Apache

reloadmysql – Reload only MySQL

reloadftp – Reload only ProFTPD

restart – Stop and start XAMPP

Comment Here

Join this free course:

How to host multiple WordPress
websites on a VPS

Close me!