php_up55.sh:
wget http://download.arefly.com/wdcp/php_up55.sh
sh php_up55.sh 5.6.0
nginx_up.sh:
wget http://down.wdlinux.cn/in/nginx_up.sh
sh nginx_up.sh 1.7.5
升级脚本
wget http://www.xmspace.net/sh/wdcp/tengine_up.sh
chmod +x tengine_up.sh
./tengine_up.sh
根据提示输入 2.0.2 回车 然后按任意键继续
错误处理:
./configure: error: the HTTP rewrite module requires the PCRE library.
安装pcre-devel解决问题
yum -y install pcre-devel
重启后nginx挂掉了
vi /www/wdlinux/nginx/conf/nginx.conf
这句
limit_conn_zone $binary_remote_addr zone=one:10m;
换掉这句
limit_zone one $binary_remote_addr 32k;
然后运行
/www/wdlinux/nginx/sbin/nginx
/www/wdlinux/nginx/sbin/nginx -s reload