

You can check this by launching XAMPP Control and checking that Apache and MySQL have green lights displayed next to them. When you restart your computer the XAMPP Apache and MySQL services should start automatically. Now run the following terminal command: sudo nano .plist Save the file and exit nano ( control+o, return, control+x). Sudo nano .plistĮnter your OSX password when prompted, then in nano paste the following into your new plist:

Wouldn’t it be nice if those services started automatically? One way of doing that is to create a Launch Daemon that runs at system startup and have it start XAMPP for us.įire up Terminal, and run the following command: cd /Library/LaunchDaemons Here’s another little XAMPP tip…īy default XAMPP won’t start the Apache and MySQL services at system startup, so every time you reboot your computer you’ll need to restart them. A few days ago I posted about my experiences setting up XAMPP on OSX.
