Brew installation of xhprof failed, how to solve it-php tutorial

As follows: brew install php56-xhprof ==> Installing php56-xhprof from homebrew/homebrew-php ==> Downloading https://github.com/facebook/xhprof/archive/254eb24dcfa763c76c57b472093ebc4b81af2b7d.tar.gz ################################################ ###################### 100.0% ==> Patching Error: Unable to guess PHP branch for Formulary::Formulae::Php56Xhprof Response content: As follows: brew install php56-xhprof ==> Installing php56-xhprof from homebrew/homebrew-php ==> Downloading https://github.com/facebook/xhprof/archive/254eb24dcfa763c76c57b472093ebc4b81af2b7d.tar.gz ################################################ ###################### 100.0% ==> Patching Error: Unable to guess PHP branch for Formulary::Formulae::Php56Xhprof There should be a problem with the PHP version. For the source code of homebrew-php, try installing version 5.3+. def php_branch class_name = self.class.name.split(“::”).last matches = /^Php5([3-9]+)/.match(class_name) if matches “5.” + matches[1] else raise “Unable to guess PHP branch for #{class_name}” end end

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索