How can I easily run multiple sites with PHP, Apache and mySQL for free on mac with OSX? I use XAMPP on Windows and it works really well. When I want to add a new site on XAMPP in windows, I only create a new folder in htdocs and visit http://localhost/newfoldername to visit the site.
I know mac OS already have PHP but missing mySQL. However, I thought it was messy when I tested it.
XAMPP - (https://www.apachefriends.org) is not the same on mac and Windows. On mac you need to mount a drive to access the htdocs folder and it was hard to have multiple sites.
MAMP free - (https://www.mamp.info/) can't find how I add multiple sites. I tested to create a new folder "test" with a php-file in htdocs but the webserver could not find the site when I visited http://localhost/test
MAMP PRO - I want to use a free solution (freeware or open source) and you need to pay to use MAMP PRO.
I can live with digging in configuration files once but do not want to do it every time I set up a new PHP site in localhost.