mac 上从php5.6.30升级到7 遇到问题怎么解决

想将php升级到7,通过https://php-osx.liip.ch/找到curl -s https://php-osx.liip.ch/insta... | bash -s 7.0, 但是在安装时提示错误,想问怎么解决?
$curl -s https://php-osx.liip.ch/insta... | bash -s 7.0
Detected macOS Sierra 10.12. All ok.
Get packager.tgz
Unpack packager.tgz
Please type in your password, as we want to install this into /usr/local
Password:
Start packager (may take some time) using /usr/bin/python2.7
downloading https://s3-eu-west-1.amazonaw...
downloading https://s3-eu-west-1.amazonaw...
ERROR: pkg/info file not found in package 7.0-10.10-frontenddev
Finished.

ERROR: pkg/info file not found in package 7.0-10.10-frontenddev这个错误怎么解决?

阅读 2.1k
1 个回答

建议使用 brew 来安装。

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

随后执行

brew install php71

等待几分钟后就安装成功了

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题