上一页 1 2 3 4 5 6 7 ··· 30 下一页

2020年4月16日

(PHP)redis List(列表)操作

摘要: /** * * List操作 * 列表操作 * 可理解为数组操作 * 插入、删除数据按照一定规律排列的 * 元素可重复 * 适用于队列 * */ //在列表头部插入一个值one,当列表不存在时自动创建一个列表,key1为列表名 $redis->lpush("key1", "one"); //在列表尾 阅读全文

posted @ 2020-04-16 20:27 潇潇六月雨 阅读(739) 评论(0) 推荐(0) 编辑

2020年4月12日

php cURL error 60

摘要: 到 https://curl.haxx.se/ca/cacert.pem 下载证书文件 cacert.pem,将其保存到 PHP 安装路径下。 编辑 php.ini 文件,删除 curl.cainfo 配置项前的分号注释符(;),值设置为保存的证书文件 cacert.pem 的绝对路径。 重启依赖 阅读全文

posted @ 2020-04-12 21:15 潇潇六月雨 阅读(287) 评论(0) 推荐(0) 编辑

2020年3月25日

go build 不同系统下的可执行文件

摘要: go build 不同系统下的可执行文件 Golang 支持在一个平台下生成另一个平台可执行程序的交叉编译功能。 1、Mac下编译Linux, Windows平台的64位可执行程序: 1 2 $ CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build test. 阅读全文

posted @ 2020-03-25 16:25 潇潇六月雨 阅读(157) 评论(0) 推荐(0) 编辑

2020年3月24日

windows下改变go的gopath

摘要: 安装go之后,gopath设置为安装go的目录下go/bingopath 默认为C:\Users\xiuxiuli\go要把gopath换成D:\Go_WorkSpace,在系统环境变量里新建如下 重开下cmd,输入go env 发现gopath没有变化,然后再命令行输出下面就可以了setx GOP 阅读全文

posted @ 2020-03-24 18:37 潇潇六月雨 阅读(1394) 评论(0) 推荐(0) 编辑

go安装与goland破解永久版

摘要: 新破解方式 http://c.biancheng.net/view/6124.html 一、go安装 1、建议去go语言中文网下载,网址:https://studygolang.com/dl ,下图是下载页面及包介绍 2、Windows版安装 3、在cmd命令行窗口输入“go version”可以查 阅读全文

posted @ 2020-03-24 14:22 潇潇六月雨 阅读(3156) 评论(2) 推荐(0) 编辑

解决centos yum源配置出现Couldn't resolve host 问题

摘要: http://mirrors.163.com/centos/6/os/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'mirrors.163.com'" Trying other mirror 阅读全文

posted @ 2020-03-24 11:55 潇潇六月雨 阅读(1703) 评论(0) 推荐(0) 编辑

2020年3月18日

Centos7下MongoDB下载安装详细步骤

摘要: 本文的环境为centos7,装的MongoDB版本为3.6.13 1.下载并解压centos下直接使用wget下载: weget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.6.13.tgz创建目录/usr/local/mongod 阅读全文

posted @ 2020-03-18 00:36 潇潇六月雨 阅读(1291) 评论(0) 推荐(0) 编辑

PHP操作mongodb扩展的坑 及php7安装mongodb扩展

摘要: 1.下载扩展到php源码包扩展目录中,ext目录中保存着php官方包含的扩展源码包,没有的话就要自己去下载 PHP的扩展路径在: /usr/local/src/php-7.0.12/ext/(PHP源码包的ext目录) 下载地址:https://pecl.php.net/package/mongod 阅读全文

posted @ 2020-03-18 00:14 潇潇六月雨 阅读(1179) 评论(0) 推荐(0) 编辑

2020年3月11日

阿里云 Composer 全量镜像

摘要: 原文地址(阿里云文章): https://developer.aliyun.com/composer 本镜像与 Packagist 官方实时同步,推荐使用最新的 Composer 版本。 最新版本: 1.10.0 下载地址: https://mirrors.aliyun.com/composer/c 阅读全文

posted @ 2020-03-11 16:58 潇潇六月雨 阅读(215) 评论(0) 推荐(0) 编辑

2020年3月9日

centos beanstalkd 安装 与php调用

摘要: centos安装消息队列beanstalkd 在虚拟机上装一个centos系统,然后在centos上安装beanstalkd yum install epel-release // 不安装上一步,无法找到 beanstalkd yum install beanstalkd --enablerepo= 阅读全文

posted @ 2020-03-09 20:35 潇潇六月雨 阅读(227) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 ··· 30 下一页

导航