What is XAMPP?
XAMPP is a software which provides the collection of packages like Apache web server, MySQL database/MariaDB, Php and Perl. It is available in Windows, MAC and Linux.
If you install the XAMPP, then no need to install the above packages seperately. It does all configuration automatically
Now you can follow the following steps to install XAMPP in Mac OS.
1. Download the Installation Package
Go to the XAMPP downloads website and download the latest version.
Downloads Link: https://www.apachefriends.org/download.html
Download using command line:
sudo wget https://www.apachefriends.org/xampp-files/7.4.7/xampp-linux-x64-7.4.7-0-installer.run
2. Convert the installer file as executable
Upon downloading the installer file will not have executable permission. You must give the permission using the command “chmod”
sudo chmod +x xampp-linux-x64-7.4.7-0-installer.run
3. Start the Xampp Installer
Run the below command and finish all steps through the installation window.
sudo ./xampp-linux-x64-7.4.7-0-installer.run
Now the installation should be successfully completed. As I said earlier now you can able to run the Apache web server, Php, Perl and MySQL.
How to Start the lampp
sudo /opt/lampp/lampp start
How to Uninstall the lampp
cd /opt/lampp/
sudo ./uninstall