How to install XAMPP on macOS to use PHP & MySQL

If you want to use PHP with MySQL, I will always recommend you to install XAMPP to get things done. It’s pretty straightforward and easy to use.

To start, first, go to XAMPP and download the XAMPP for macOS, you’ll generally find download option on the home page itself, if not then go to the download page and select the latest XAMPP version to download, the .dmg file will get downloaded.

Open this .dmg file, you’ll see something like this,