摘要:
php的session默认不是serialize和unserialize来进行序列化的ini_set('session.serialize_handler', 'php_serialize');这样session配置为redis后,其它服务器可以用cache方式读取redis中session,可以达 阅读全文
摘要:
屏蔽php版本号 expose_php = Off 屏蔽apache版本号 ServerTokens Prod ServerSignature Off 阅读全文
摘要:
brew unlink PHP-之前版本 brew link php-现在版本 sudo brew services stop php70 sudo brew services start php56 阅读全文
摘要:
vim ~/.pip/pip.conf [global]index-url = https://pypi.doubanio.com/simple/[install]trusted-host=pypi.doubanio.com 编辑保存,重来一遍 记得域名不能配置在public目录下 阅读全文
摘要:
1 /etc/profile 2 .bash_profile 编辑后使之立即生效 source /etc/profile source .bash_profile 阅读全文
该文被密码保护。 阅读全文
摘要:
ab -n 1 -p para.txt -T application/x-www-form-urlencoded http://test.com para.txt的内容 a=123&b=33&c=xiao 阅读全文
摘要:
下载最新版本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 安 阅读全文
摘要:
可以像node一样轻松调试程序了 阅读全文
摘要:
lnmp vhost add 添加完后,修改域名配置文件 修改fastcgi.conf 配置重写,统一放在 other.conf,因为所有的域名配置文件均引用了该配置 阅读全文
