摘要: centos6.5上安装redis3.2版本,本地访问redis报错protocol error, got 'n' as reply type byte 解决办法 在redis配置文件redis.conf把protected-mode由yes改为no 注意如果使用src/redis-server 这 阅读全文
posted @ 2017-02-23 09:14 城市那么空 阅读(1900) 评论(0) 推荐(0)
摘要: 问题描述: select * from users where user_name ='user_01' 跟 select * from users where user_name ='uSer_01',select * from users where user_name ='uSEr_01' 等 阅读全文
posted @ 2016-10-09 14:37 城市那么空 阅读(180) 评论(0) 推荐(0)
摘要: 1.下载memcache 的window 稳定版,解压到xampp 目下;比如D:\xampp\memcached 2. 打开cmd 命令界面 输入 D:\xampp\memcached\ memcached.exe -d install 没有报错则说明安装成功 3.启动memcache 输入 D: 阅读全文
posted @ 2016-08-09 14:15 城市那么空 阅读(592) 评论(0) 推荐(0)
摘要: 1、用PHP打印出前一天的时间格式是2006-5-10 22:21:21 解:echo date(‘Y-m-d H:i:s’, strtotime(‘-1 day’)); 原因: format 字符说明返回值例子a小写的上午和下午值am 或 pmA大写的上午和下午值AM 或 PMd月份中的第几... 阅读全文
posted @ 2014-06-27 15:33 城市那么空 阅读(244) 评论(1) 推荐(0)