centos7 安装php5.6
摘要:1、查看centos 版本 2、切换yum 源
阅读全文
常用curl命令
摘要:curl -F "userfile=@/Users/username/Downloads/20170502.zip" http://youip/up.php curl -X POST -d '{"phone":"888"}' http://zzzzzz:80/mobile/c curl -F "userfile=@wa.zip" http://zzzzzzzz:80/mobile/a ...
阅读全文
chrome.debugger
摘要:Now you can navigate to the given port from your client and attach to any of the discovered tabs for debugging: http://localhost:9222 You will find th
阅读全文
修改php.ini 的timezone
摘要:php运行模式有apache 和 cli模式 这里讲cli 模式的php.ini设置 1、查找php.ini位置 这样是表示 要改的文件 在/etc/php.ini 设置的话就是 改为自己需要的就行: 中国一般为:
阅读全文
初识Elasticsearch,bulk 操作的遇到的那些事
摘要:bulk api可以在单个请求中一次执行多个文档的 create 、 index 、 update 或 delete 操作 create 必须制定_id index 不必指定_id 会自动创建一个_id
params[′body′]=[];//创建或替换文档操作params['body']
阅读全文