hamen 发表于 2016-11-18 20:50:09

升级nginx出现这些信息什么原因,没有升级成功

升级nginx出现这个什么原因,没有升级成功
# ./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
============================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

hamen 发表于 2016-11-18 20:50:21

现在的nginx版本是1.8.1

licess 发表于 2016-11-18 21:35:09

https://lnmp.org/faq/lnmp1-2-upgrade.html
页: [1]
查看完整版本: 升级nginx出现这些信息什么原因,没有升级成功