Ricky_nie 发表于 2016-2-3 15:44:13

lnmp1.3升级nginx到1.9.10失败

下面是提示信息:


Download nginx-1.9.10.tar.gz successfully!
============================check files==================================
Uncompress nginx-1.9.10.tar.gz...
cd nginx-1.9.10...
./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 58: /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 65: /usr/local/nginx/sbin/nginx: No such file or directory

Ricky_nie 发表于 2016-2-3 15:44:42

1.9.9能升级成功

licess 发表于 2016-2-3 17:04:12

修改一下include/upgrade_nginx.sh
里grep -Eqi '^1.9.'; 替换为grep -Eqi '^1.9.$';

再重新升级就行
页: [1]
查看完整版本: lnmp1.3升级nginx到1.9.10失败