mac下安装PHP mongoldb

个人环境
PHP7
操做系统 macphp

开始用 git

install php70-mongodbgithub

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

最后解决api

brew reinstall php70-mongodb --build-from-sourceruby

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 安装:bash

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

相关文章
相关标签/搜索