VPS侦探论坛

 找回密码
 注册
查看: 3920|回复: 1

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

[复制链接]
发表于 2016-7-19 13:24:02 | 显示全部楼层 |阅读模式

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.
请问大神怎么弄啊?

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-7-19 16:47:28 | 显示全部楼层
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-29 07:18 , Processed in 0.028965 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表