Tuesday, September 24, 2019

How to Install XAMPP in Ubuntu for Localhost Server

Last Update:

How to Install XAMPP in Ubuntu for Localhost ServerXAMPP is very popular Open-Source Software for the Web Developer. It runs on Windows, Linux, Mac.

4 Steps to Install XAMPP in Ubuntu. [Tested on Ubuntu 14.04 LTS]

  1. Download xampp-linux-x64-7.3.6-2-installer.run software in your Download Directory from ApacheFriends.
  2. Open Terminal CTRL + ALT +T . And type cd Downloads.
  3. Next run chmod 755 xampp-linux-x64-7.3.6-2-installer.run from your terminal.
  4. Install XAMPP:Run the following command and follow the window.
    sudo ./xampp-linux-x64-7.3.6-2-installer.run
N.B.Replace xampp-linux-x64-7.3.6-2-installer.run with the similar name of downloaded xampp package.

How to Start and Stop XAMPP in Ubuntu/Linux through Terminal

1. To Start XAMPP - sudo /opt/lampp/xampp start

2. To Stop XAMPP -sudo /opt/lampp/xampp stop

How to Fix XAMPP permission denied /opt/lampp/htdocs Directory in Ubuntu

To fix this (Granting Permission) just run the following command through your Terminal.
sudo chmod -R 777 /opt/lampp/htdocs

Join to BLOGGER™ Community - COMPROMATH. Ask Questions & Get Help

About me

Elliyas Ahmed
Elliyas Ahmed

Hi, I am Elliyas Ahmed, the founder of COMPROMATH. I try to share what I learn.

Work With Me - My Premium Services

Lets Start The Discussion on This Article

Put Your Valuable Comments

Welcome to comment section. Each comment is modereted. So don't try to spam.