commands: chmod 777, 755, etc.
Solution 1
I’ve solved doing the following operations:
- Quit MAMP and all the applications that are using mySql and Apache Server (stop all the instances)
- Go to System Preferences, Systema & Privacy, Full Disk Access Tab
- Click “add” and go to /Applications/MAMP/Library/bin and add apachectl
- Run this command from the terminal:
sudo /Applications/MAMP/bin/startApache.sh\
- Open MAMP and press the Start Servers button
now you should be able to start your localhost app