- 积分
- 53
- 威望
-
- 金钱
-
- 注册时间
- 2012-1-29
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
升级nginx出现这个什么原因,没有升级成功
[root@AT16-637 lnmp1.2-full]# ./upgrade.sh nginx
+-----------------------------------------------------------------------+
| Upgrade script for LNMP V1.2, Written by Licess |
+-----------------------------------------------------------------------+
| A tool to upgrade Nginx,MySQL/Mariadb,PHP for LNMP/LNMPA/LAMP |
+-----------------------------------------------------------------------+
| For more information please visit http://www.lnmp.org |
+-----------------------------------------------------------------------+
Current Nginx Version:1.8.1
You can get version number from http://nginx.org/en/download.html
Please enter nginx version you want, (example: 1.7.8 ): 1.10.2
+---------------------------------------------------------+
| You will upgrade nginx version to 1.10.2
+---------------------------------------------------------+
Press any key to start...or Press Ctrl+c to cancel
============================check files==================================
nginx-1.10.2.tar.gz [found]
============================check files==================================
Uncompress nginx-1.10.2.tar.gz...
cd nginx-1.10.2...
./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 |
|