有没有办法用brew更新php json?
我想用elasticsearch composer供应商包运行本地项目。当我试图通过composer安装它时,出现了以下错误有没有办法用brew更新php json?,php,
elasticsearch,homebrew,Php,
elasticsearch,Homebrew,我想用elasticsearch composer供应商包运行本地项目。当我试图通过composer安装它时,出现了以下错误 Problem 1 - Installation request for elasticsearch/elasticsearch ^5.1 -> satisfiable by elasticsearch/elasticsearch[v5.1.0]. - elasticsearch/elasticsearch v5.1.0 requires ext-json >
Problem 1
- Installation request for elasticsearch/elasticsearch ^5.1 -> satisfiable by elasticsearch/elasticsearch[v5.1.0].
- elasticsearch/elasticsearch v5.1.0 requires ext-json >=1.3.7 -> the requested PHP extension json has the wrong version (1.2.1) installed.
所以我通过brew安装了PHP,因为我需要多个PHP版本。如何更新这些库brew搜索“json”
和“php json”
什么也找不到
有什么想法吗?您需要安装库的2.2版
composer需要elasticsearch/elasticsearch:2.*brew安装OSX软件和库。Composer安装PHP库。您有作曲家问题,而不是brew问题。修复项目空间中的
composer.json
文件,使其指向PHP库“ext-json”的正确版本是的,但如何在brew中选择该版本?