VPS侦探论坛

 找回密码
 注册
查看: 4264|回复: 2

lnmp1.3升级nginx到1.9.10失败

[复制链接]
发表于 2016-2-3 15:44:13 | 显示全部楼层 |阅读模式

下面是提示信息:


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
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2016-2-3 15:44:42 | 显示全部楼层


1.9.9能升级成功
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2016-2-3 17:04:12 | 显示全部楼层

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

再重新升级就行
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-17 18:38 , Processed in 0.025858 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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