hamen 发表于 2016-7-6 13:19:27

1.2升级nginx到1.10.1出错

Download nginx-1.10.1.tar.gz successfully!
============================check files==================================
Uncompress nginx-1.10.1.tar.gz...
cd nginx-1.10.1...
./configure: error: invalid option "--with-http_spdy_module"
make: *** No targets specified and no makefile found.Stop.
cp: cannot stat `objs/nginx': No such file or directory
Test nginx configure file...
include/upgrade_nginx.sh: line 56: /usr/local/nginx/sbin/nginx: No such file or directory
upgrade...
make: *** No rule to make target `upgrade'.Stop.
======== upgrade nginx completed ======
Program will display Nginx Version......
include/upgrade_nginx.sh: line 61: /usr/local/nginx/sbin/nginx: No such file or directory
原来是1.8.1版本

licess 发表于 2016-7-7 11:00:22

这个早就在lnmp.org上说过了nginx 1.9.5以上版本只能用1.3进行升级
页: [1]
查看完整版本: 1.2升级nginx到1.10.1出错