Updating php version on mac

后端 未结 8 1671
旧巷少年郎
旧巷少年郎 2020-12-15 04:21

I want to update php version, currently I have 5.5.38 and I want 7.1

What I tried so far is using this command:

curl -s https://php-osx.liip.ch/insta         


        
8条回答
  •  盖世英雄少女心
    2020-12-15 04:40

    Use Homebrew:

    I would probably recommend installing homebrew to manage such installations for you. With that installed you can just run the following command to install php7.1

    brew update
    brew install php@71
    

提交回复
热议问题