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

相關文章
相關標籤/搜索