Advance

How to Install XAMPP on Mac

Richard 9 Min Read
How to Install XAMPP on Mac
1
(1)

XAMPP is software for creating a local web server. This software is used for all people who somehow deal with website design. Whether those who want to learn a content management system like WordPress and eventually start a website using it or web programmers who want to develop a web application. This article will teach you How to Install XAMPP on Mac. If you intend to buy VPS server, check out the packages offered on our website.

Tutorial Install XAMPP on Mac

XAMPP is an abbreviation where X stands for Cross-Platform, A stands for Apache, M stands for MYSQL, and the Ps stand for PHP and Perl and is a free and open-source web server. It was developed by Apache Friends, and is available in 11 languages and supported by different platforms such as the IA-32 package of Windows & x64 package of macOS and Linux. In fact, this software is officially designed as a development tool to allow website designers and programmers to test their work on their own computers without needing to access the Internet.

Recommended Article: 5 Ways to Find Open Ports on Your Mac with Nmap

Download XAMPP for Mac

The first step is to download XAMPP for Mac. To do this, visit the XAMPP official website, choose your desired version from XAMPP for OS X section, and click on Download (64-bit):

 

Download-XAMPP-for-Mac

 

Or open the following link to start the download:

https://www.apachefriends.org/xampp-files/7.2.0/xampp-osx-7.2.0-0-installer.dmginto

Install the XAMPP File to Begin the Installation Process

Once the download is finished, double-click the downloaded file.

After the XAMPP application is opened, double-click on XAMPP:

 

Start-Installing

 

You will then be asked to allow XAMPP to open. To do this, click Open:

 

Open-XAMPP-downloaded-file

 

Now enter your username and password:

 

Enter-Username-Password

 

Select Which Components are Installed or Updated

In this step, the XAMP setup will begin. Just click on Next to proceed:

 

Setup-Wizard

 

Now it’s time to choose your desired components to install. If you want to install all the components, click the two-component checkboxes which are XAMPP Core Files and XAMPP Developer Files. Once you choose, click on Next:

 

Choose-XAMPP-Components

 

XAMPP application will install on your Applications directory and you cannot change the destination folder. So click on Next:

 

installation-directory

 

Click on Next again:

 

Bitnami-for-XAMPP

 

Click Finish to Finalize Installation and Setup XAMPP on Mac

Now XAMPP is ready to install. Click on Next to begin the installation:

 

XAMPP-ready-to-install - Install XAMPP on Mac

 

Wait for the installation to finish.

After your installation is complete, click on Finish. Remember to check the Launch XAMPP checkbox to open the XAMPP application automatically after clicking the Finish button:

 

Finish-XAMPP-installation - Install XAMPP on Mac

 

Now you will see the XAMPP application will automatically open. Click on Manage Servers >> MySQL Database >> Start to run MySQL. Also, click on Apache Web Server >> Start to run Apache:

 

XAMPP-application - Install XAMPP on Mac

 

Update PHP on Mac

You should install Homebrew to update PHP xampp on Mac. So if you are not installed Homebrew previously, run the command below to do this:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Then add it to the PATH using the command below:

echo "export PATH=/opt/homebrew/bin:$PATH" >> ~/.bash_profile  
source ~/.bash_profile

Now you can update PHP by running the following command:

brew upgrade php

That’s it! You have installed XAMPP on Mac successfully.

Recommended Article: Tutorial Install Kali Linux on MacOS

Conclusion

In this article, we taught you how to install XAMPP on Mac. I hope you found this tutorial useful and that it helps you to install XAMPP on your Mac operating system. If you face any problems during the installation process, you can contact us in the Comments section.

How useful was this post?

Click on a star to rate it!

Average rating 1 / 5. Vote count: 1

No votes so far! Be the first to rate this post.

View More Posts
Richard
Eldernode Writer
We Are Waiting for your valuable comments and you can be sure that it will be answered in the shortest possible time.

Leave a Reply

Your email address will not be published. Required fields are marked *

We are by your side every step of the way

Think about developing your online business; We will protect it compassionately

We are by your side every step of the way

+8595670151

7 days a week, 24 hours a day