maxxiang 发表于 2016-7-19 13:24:02

为什么lnmp1.2 升级nginx失败?

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

然后就是 nginx 也重启不了了。

nginx 还在运行 但是就是关闭不了 也重启不了更新也不行
请问大神 这个怎么恢复啊?我是想为自己的商场网站 配置SSL。。。。用的是军哥的https://www.vpser.net/build/letsencrypt-free-ssl.html 这篇文章的教程
但是用的是lnmp1.2 版本的 nginx 版本太低http/2 必须要达到1.9.5 才能支持https.
请问大神怎么弄啊?

licess 发表于 2016-7-19 16:47:28

https://lnmp.org/faq/lnmp1-2-upgrade.html
页: [1]
查看完整版本: 为什么lnmp1.2 升级nginx失败?