install ext-zip for Mac

后端 未结 10 1934
野性不改
野性不改 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:07

    Instead of force linking you can also fix the problem in MacOS Catalina

    by adding the php binary path to your bash profile e.g.:

    echo 'export PATH="/usr/local/opt/php@7.3/bin:$PATH"' >> ~/.bash_profile
    echo 'export PATH="/usr/local/opt/php@7.3/sbinbin:$PATH"' >> ~/.bash_profile
    

提交回复
热议问题