×

Install XAMPP on CentOS 8 - Step by Step process to do this ?

This article covers how to install XAMPP on your CentOS system. XAMPP is an easy to install and use Apache distribution packaged with MariaDB, PHP, and Perl.

XAMPP was first developed by a project team called Apache Friends. As an open-source Apache distribution of a PHP development environment, it consists of cross-platform software (X): Apache (A), MariaDB (M), PHP (P) and Perl (P). 


To install XAMPP on CentOS 8 Linux system:

1. Update system

Ensure your CentOS system is updated.

$ sudo dnf -y update
$ sudo dnf -y install libnsl

2. Download XAMPP on CentOS 8

Install wget on CentOS 8:

$ sudo dnf -y install wget

Download XAMPP installer. Choose the installer matching the PHP version you want to have.

### PHP 8.0 ###

$ wget https://www.apachefriends.org/xampp-files/8.0.1/xampp-linux-x64-8.0.1-0-installer.run

### PHP 7.4 ###

$ wget https://www.apachefriends.org/xampp-files/7.4.14/xampp-linux-x64-7.4.14-0-installer.run

### PHP 7.3 ###

$ wget https://www.apachefriends.org/xampp-files/7.3.26/xampp-linux-x64-7.3.26-0-installer.run

3. The binary installer should be executable.

### PHP 8.0 ###

$ chmod a+x xampp-linux-x64-8.0.1-0-installer.run

### PHP 7.4 ###

$ chmod a+x xampp-linux-x64-7.4.14-0-installer.run

### PHP 7.3 ###

$ chmod a+x xampp-linux-x64-7.3.26-0-installer.run

4. Then run the XAMP installer:

### PHP 8.0 ###

$ sudo ./xampp-linux-x64-8.0.1-0-installer.run

### PHP 7.4 ###

$ sudo ./xampp-linux-x64-7.4.14-0-installer.run

### PHP 7.3 ###

$ sudo ./xampp-linux-x64-7.3.26-0-installer.run


How to Start and use XAMPP on CentOS 8:

XAMPP is installed to /opt/lampp/. To start XAMPP services, run:

$ sudo /opt/lampp/lampp start

To verify installation of XAMPP on CentOS 8 visit the Apache web page:

http://localhost


Stopping and Uninstalling XAMPP on CentOS 8:

To stop XAMPP services run:

$ sudo /opt/lampp/lampp stop

To uninstall XAMPP on CentOS 8, run:

$ cd /opt/lampp
$ sudo ./uninstall
$ sudo rm-rf /opt/lampp


Install Linux, Apache, MariaDB, PHP (LAMP) Stack on Debian 10 - Step by step process to do it ?

This guide will help you on how to #install the LAMP stack (Linux, Apache, MariaDB, and PHP ) in your #Debian system. 

LAMP stands for Linux, Apache, MySQL, and PHP. Together, they provide a proven set of software for delivering high-performance web applications.

For a web application to work smoothly, it has to include an operating system, a web server, a database, and a programming language. 

A LAMP Stack is a set of open-source software that can be used to create websites and web applications. 

LAMP is an acronym, and these stacks typically consist of the Linux operating system, the Apache HTTP Server, the MySQL relational database management system, and the PHP programming language.

To Install #LAMP stack on Ubuntu:

1. Update your system. sudo apt-get update.

2. Install Mysql. sudo apt-get install mysql-server mysql-client libmysqlclient-dev.

3. Install #Apache server.

4. Install #PHP (php7.0 latest version of PHP).

5. Install #Phpmyadmin (for #database).