yehkgu 发表于 2016-10-3 21:19:29

lnmp1.2版升级nginx出现如下错误(已解决)

Press any key to start...or Press Ctrl+c to cancel

============================check files==================================
nginx-1.10.1.tar.gz
============================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.
mv: cannot stat `/usr/local/nginx/sbin/nginx': No such file or directory
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.10.1要用1.3版的升级脚本,也已经拷贝过来了,但还是出错,1.2版的lnmp应该如何升级nginx?

===============

已经搞定了,原来是直接在lnmp1.3里运行升级脚本,不是拷贝过来。

[ 本帖最后由 yehkgu 于 2016-10-3 21:23 编辑 ]
页: [1]
查看完整版本: lnmp1.2版升级nginx出现如下错误(已解决)