1.
sudo vim /Applications/XAMPP/xamppfiles/etc/httpd.conf
2. Find
3. Change to
Require all granted
All visits All are effective and reduce the security of the system. The default is denied. Another better way is Baidu. This thing took me two days to work on. It turned out to be a problem with its default settings. If you have a better solution, please tell me
The above introduces the solution to xampp error 403 under mac, including error and XAMPP content. I hope it will be helpful to friends who are interested in PHP tutorials.