mac下安装PHP mongoldb

泄露秘密 提交于 2019-12-10 01:41:24

我的环境
PHP7
操作系统 mac

开始用 

install php70-mongodb

一直报错 :dyld: lazy symbol binding failed: Symbol not found: _clock_gettime

最后解决

brew reinstall php70-mongodb --build-from-source

curl -XPUT localhost:9200/_cluster/settings -d '{
    "transient" : {
        "cluster.routing.allocation.disk.watermark.low" : 0.97
    }
}'
 curl -XPOST http://localhost:9200/logstash-2017.12.12/teacher_api_log -d'{"name":"tom","age":21,"info":"tom"}'

curl -XPUT localhost:9200/_cluster/settings -d '{
    "transient" : {
        "cluster.routing.allocation.disk.threshold_enabled" : false
    }
}'


 

 

brew 安装:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!