How to install Xampp in Fedora

Published by arifur on

XAMPP is the most popular PHP development environment XAMPP is a completely free, easy to install Apache distribution containing MySQL, PHP, and Perl. The XAMPP open source package has been set up to be incredibly easy to install and to use.

Installing Xampp in Fedora 19, 20, 21

Step 1: Download the latest version of Xampp

Go to this page and download the latest version

or open up terminal and run the following commands

Download the latest version according to your system.


If you want to download a specific version then run the following commands

Linux 32-bit


Linux 64-bit


Step 2: After the download finishes. Change the downloaded files permission to an executable. And run the file.

sudo chmod +x sudo ./

A installation wizard will run. Complete the installation.

Xampp Setup Installation Wizard

If everything completes without any issue then Xampp Control Panel will run.

XAMPP Control Panel

Even if Xampp Control Panel does not run, if the installation process completed successfully then you will be able run Xampp from the Terminal

Some basic xampp commands

cd /opt/lampp
sudo sh lampp start # start xampp sudo sh lampp restart # restart xampp sudo sh lampp stop # stop xampp

without using cd

sudo /opt/lampp/lampp start # start xampp sudo /opt/lampp lampp restart # restart xampp sudo /opt/lampp stop # stop xampp

You can replace lampp with xampp and it will still work the same

You can also use Xampp Control Panel to start and stop xampp or lampp. Read this article if you want to Install Xampp Control Panel in linux

XAMPP Control Panel

1 Comment

Installing Xampp Control Panel on linux - AboutHack · April 10, 2015 at 9:05 am

[…] Read this article: How to install Xampp in Fedora […]

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.