How to install XAMPP on CentOS 8

s2 0

XAMPP is a cross-platform platform that is used as a local host and provides them with a suitable environment for developers to test web applications before sending data to remote servers.

XAMPP is an open source Apache distribution of a PHP development environment. It consists of the cross-platform software Apache, Maria DB, PHP and Perl. The XAMPP package is not available in the CentOS8 repository so we need to download it from the official XAMPP site.

Download XAMPP

XAMPP installation on CentOS

Open Terminal and navigate to the folder where your file was downloaded (Downloads).

Substitute with the name of the xampp file you downloaded in all of the commands below.

Use the chmod Command to make them executable with the following command:

chmod a+x <filename>

The next step is to run the installer and start the graphical setup wizard with the following command:

Make the XAMPP installation program executable

# ./<filename>

Run the XAMPP installation program

By default, we install XAMPP under / opt / lamp / Directory.

After the installation is complete, start XAMPP by entering the following command:

# sudo /opt/lamp/lamp start

Start XAMPPadvertising

Visit now http: // locahost / for XAMPP output.

To visit PHPMyAdmin, follow http: // locahost / phpmyadmin / Shortcut.

PHPMyAdmin with XAMPP

Uninstalling XAMPP

To uninstall the XAMPP, navigate to / opt / lampp Directory as shown in the figure.

Go to the xampp installation directory

Now enter the following command to uninstall it.

# sudo ./uninstall

Run the uninstallation script

You will now be asked to confirm the uninstallation of XAMPP. Just enter YES.

After successfully uninstalling XAMPP, remove the directory by entering the following command:

# sudo rm –f /opt/lamp

diploma

In this tutorial we learned how to install and uninstall XAMPP on CentOS8. Hope this tutorial helps set up XAMPP on CentOS8.

How to install XAMPP on CentOS 8