Hi, I'm a first time user of XAMPP. I'm trying to set it up on macOS and although I'm trying to follow the how-to guide that comes with it, there are a couple things that don't work. I've spent almost 1 hour trying to set those 2 things and they just don't work:
1) When I reboot the computer, XAMPP services (such as Apache) don't automatically start. The file org.apachefriends.xampp.plist is in /Library/LaunchDaemons. If I launch Terminal and execute the following command "/Applications/XAMPP/xamppfiles/xampp start" then it says "Starting XAMPP for Mac OS X 8.2.4-0... You need to be root to perform this action."
2) I cannot for the life of me change XAMPP doc root. I tried to edit the DocumentRoot line in these files, restart Apache, reboot the computer... but it still serves me the initial folder that comes with it "/Applications/XAMPP/xamppfiles/htdocs" no matter what I try.
a) /Applications/XAMPP/xamppfiles/etc/httpd.conf
b) /Applications/XAMPP/xamppfiles/etc/extra/httpd-vhosts.conf