VPS侦探论坛

 找回密码
 注册
查看: 4094|回复: 0

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

[复制链接]
发表于 2016-10-3 21:19:29 | 显示全部楼层 |阅读模式

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

============================check files==================================
nginx-1.10.1.tar.gz [found]
============================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 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-16 21:34 , Processed in 0.024865 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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