xxxxxxxxxx
# open terminal
Ctrl+Alt+T
# then type below command
sudo /opt/lampp/lampp start
xxxxxxxxxx
# Step 1: Download XAMPP
wget https://www.apachefriends.org/xampp-files/version-xampp-7.4.22-x64.tar.gz
# Step 2: Extract the downloaded file
tar xzf version-xampp-7.4.22-x64.tar.gz
# Step 3: Move the extracted folder to /opt directory
sudo mv xampp-7.4.22 /opt/lampp
# Step 4: Set permissions on the /opt/lampp directory
sudo chmod 755 -R /opt/lampp
# Step 5: Start XAMPP
sudo /opt/lampp/lampp start
xxxxxxxxxx
sudo '/opt/lampp/xampp' start
sudo '/opt/lampp/xampp' reload
sudo '/opt/lampp/xampp' restart
sudo '/opt/lampp/xampp' stop
xxxxxxxxxx
# open terminal
Ctrl+Alt+T
# then type below command
sudo /opt/lampp/lampp start
xxxxxxxxxx
if is xampp ubuntu run this
sudo netstat -tnlp | grep :80
get the PId
sudo kill -9 1802;sudo /opt/lampp/lampp start