您好,登錄后才能下訂單哦!
brew install php70 --with-debug --with-gmp --with-homebrew-curl --with-homebrew-libressl --with-homebrew-libxml2 --with-homebrew-libxslt --with-imap --with-libmysql --with-mysql
出錯(cuò)信息:
configure: error: Cannot find libz If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/josegonzalez/homebrew-php/issues /usr/local/Homebrew/Library/Homebrew/utils/github.rb:226:in `raise_api_error': Validation Failed (GitHub::Error) from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:184:in `open' from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:233:in `issues_matching' from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:266:in `issues_for_formula' from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:325:in `fetch_issues' from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:321:in `issues' from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:383:in `dump' from /usr/local/Homebrew/Library/Homebrew/brew.rb:133:in `rescue in <main>' from /usr/local/Homebrew/Library/Homebrew/brew.rb:31:in `<main>'
解決方法:
在命令行執(zhí)行 $ xcode-select --install 再次安裝 $ brew install php70 --with-debug --with-gmp --with-homebrew-curl --with-homebrew-libressl --with-homebrew-libxml2 --with-homebrew-libxslt --with-imap --with-libmysql --with-mysql 成功解決。
參考鏈接:
http://stackoverflow.com/questions/39442552/5-boxen-errors-when-running-boxen-our-boxen
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀(guān)點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。