SOLVED – After I update to MacOs Catalina MAMP stop working

0

I have a folder on my Desktop named work where I keep all my php projects. I use MAMP and all projects are set to work on virtual hosts, for example, if I have a project named test I access this project on this URL http://test.dev.

Everything went ok until I updated to macOS Catalina when I started to have this error.

(1)Operation not permitted: Can't open directory for index: /Users/username/Desktop/work/php/development/projectname.

I set the permissions to the work folder and all subfolders to be read & write for my user and staff group, I tried all the terminal permission

commands: chmod 777, 755, etc.

Solution 1

I've solved doing the following operations:

  1. Quit MAMP and all the applications that are using mySql and Apache Server (stop all the instances)
  2. Go to System Preferences, Systema & Privacy, Full Disk Access Tab
  3. Click “add” and go to /Applications/MAMP/Library/bin and add apachectl
  4. Run this command from the terminal: sudo /Applications/MAMP/bin/startApache.sh\
  5. Open MAMP and press the Start Servers button

now you should be able to start your localhost app

We will be happy to hear your thoughts

Leave a reply

CodeROG
Logo
Reset Password
Compare items
  • Total (0)
Compare
0
Shopping cart