上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 23 下一页
摘要: php的session默认不是serialize和unserialize来进行序列化的ini_set('session.serialize_handler', 'php_serialize');这样session配置为redis后,其它服务器可以用cache方式读取redis中session,可以达 阅读全文
posted @ 2017-10-08 22:21 lobtao 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 屏蔽php版本号 expose_php = Off 屏蔽apache版本号 ServerTokens Prod ServerSignature Off 阅读全文
posted @ 2017-10-04 10:37 lobtao 阅读(141) 评论(0) 推荐(0) 编辑
摘要: brew unlink PHP-之前版本 brew link php-现在版本 sudo brew services stop php70 sudo brew services start php56 阅读全文
posted @ 2017-10-04 10:10 lobtao 阅读(178) 评论(0) 推荐(0) 编辑
摘要: vim ~/.pip/pip.conf [global]index-url = https://pypi.doubanio.com/simple/[install]trusted-host=pypi.doubanio.com 编辑保存,重来一遍 记得域名不能配置在public目录下 阅读全文
posted @ 2017-09-09 18:41 lobtao 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 1 /etc/profile 2 .bash_profile 编辑后使之立即生效 source /etc/profile source .bash_profile 阅读全文
posted @ 2017-09-09 17:43 lobtao 阅读(85) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2017-09-07 16:15 lobtao 阅读(3616) 评论(0) 推荐(0) 编辑
摘要: ab -n 1 -p para.txt -T application/x-www-form-urlencoded http://test.com para.txt的内容 a=123&b=33&c=xiao 阅读全文
posted @ 2017-09-07 14:36 lobtao 阅读(884) 评论(0) 推荐(0) 编辑
摘要: 下载最新版本libevent http://libevent.org/ wget -c https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz 安 阅读全文
posted @ 2017-08-31 19:34 lobtao 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 可以像node一样轻松调试程序了 阅读全文
posted @ 2017-07-29 15:31 lobtao 阅读(1219) 评论(0) 推荐(0) 编辑
摘要: lnmp vhost add 添加完后,修改域名配置文件 修改fastcgi.conf 配置重写,统一放在 other.conf,因为所有的域名配置文件均引用了该配置 阅读全文
posted @ 2017-07-28 18:16 lobtao 阅读(2175) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 23 下一页