mac os 10.13 php7.1 gearman 安装

root: sudo pecl install gearman
pecl/gearman requires PHP (version >= 5.1.0, version <= 6.0.0, excluded versions: 6.0.0), installed version is 7.1.17
No valid packages found
install failed

须要从源码编译安装git

安装gearman

https://github.com/gearman/gearmand/releasesgithub

下载1.18版本bash

根据readme里的步骤进行安装ui

https://github.com/gearman/gearmandspa

#大写Vcode

gearmand -V get

 

安装pecl-gearman

https://github.com/wcgallego/pecl-gearman源码

下载2.0.3版本it

根据readme里的步骤进行安装io

https://github.com/wcgallego/pecl-gearman

注意事项

步骤不要弄错, 不然会报错, 若是安装错了, 请先卸载, 再安装

卸载

make distclean

常见卸载的target有 uninstall/distclean/veryclean