·您现在的位置: 云翼网络 >> 文章中心 >> 网站建设 >> 网站建设开发 >> php网站开发 >> mac pro 安装 composer 失败

mac pro 安装 composer 失败

作者:佚名      php网站开发编辑:admin      更新时间:2022-07-23
mac PRo 安装 composer 失败 2014-01-17 13:30 by 萧 云, ... 阅读, ... 评论, 收藏, 编辑

http://getcomposer.org/doc/00-intro.md#using-composer

$ brew install josegonzalez/php/composer

出现错误:

composer: Missing PHP53, PHP54 or PHP55 from homebrew-php. Please install one of them before continuing

composer安装提示:

Note: If you receive an error saying PHP53 or higher is missing use this command to install php brew install php53-intl

执行$ brew install php54-intl 提示:

Error: No available formula for zlibPlease tap it and then try again: brew tap homebrew/dupesSearching taps…

执行$ brew tap homebrew/dupes

再执行:$ brew install josegonzalez/php/composer

参考:http://www.torounit.com/blog/category/php/