在我重新安装了PHP71后报错内容如下:包括安装reids,mongodb扩展也是,任何扩展也装不上。
huangwhMac:php huangwh$ brew install php71-igbinary
Updating Homebrew...
==> Installing php71-igbinary from homebrew/php
Error: invalid attribute for formula 'homebrew/php/php71': version (nil)
/usr/local/Homebrew/Library/Homebrew/formula.rb:252:in `validate_attributes!'
/usr/local/Homebrew/Library/Homebrew/formula.rb:199:in `initialize'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:88:in `new'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:88:in `get_formula'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:275:in `factory'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:33:in `to_formula'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:96:in `block in expand'
/usr/local/Homebrew/Library/Homebrew/dependency.rb:83:in `expand'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1473:in `recursive_dependencies'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1485:in `runtime_dependencies'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:416:in `runtime_requirements'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:429:in `expand_requirements'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:364:in `compute_dependencies'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:136:in `verify_deps_exist'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:129:in `prelude'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:335:in `install_formula'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:226:in `block in install'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:224:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:224:in `install'
/usr/local/Homebrew/Library/Homebrew/brew.rb:95:in `<main>'
1 回答
- 1 回答
- 0 关注
- 537 浏览
添加回答
举报
0/150
提交
取消