install ext-zip for Mac

后端 未结 10 1947
野性不改
野性不改 2020-11-29 02:00

I am trying to run composer update and I get the following errors:

Problem 1
    - The requested PHP extension ext-zip * is missing from your sy         


        
10条回答
  •  北荒
    北荒 (楼主)
    2020-11-29 02:17

    I had problems with python symlink during the brew install php.

    /usr/local/Frameworks didn't exist so I had to create it: sudo mkdir /usr/local/Frameworks

    cd /usr/local/

    Then I had to chown it: sudo chown -R myuser:admin Frameworks

    I based the permission settings on the rest of the folders in /usr/local.

    Then I could run brew link python. Then I ran brew install php again and it completed.

    php -v now gives me php 7.3.10 , before it was php 7.3.18 I think.

提交回复
热议问题