VPS侦探论坛

 找回密码
 注册
查看: 4894|回复: 6

使用./upgrade.sh升级失败,找不到包?

[复制链接]
发表于 2019-11-23 14:32:45 | 显示全部楼层 |阅读模式

Enter your choice (1, 2, 3, 4, 5, 6, 7 or exit): 4
Current PHP Version:5.6.40
You can get version number from http://www.php.net/
Please enter a PHP Version you want: 7.2.25

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

Notice: php-7.2.25.tar.bz2 not found!!!download now...
--2019-11-23 14:26:33--  https://www.php.net/distributions/php-7.2.25.tar.bz2
正在解析主机 www.php.net (www.php.net)... 失败:未知的名称或服务。
wget: 无法解析主机地址 “www.php.net”
--2019-11-23 14:26:45--  http://museum.php.net/php5/php-7.2.25.tar.bz2
正在解析主机 museum.php.net (museum.php.net)... 失败:未知的名称或服务。
wget: 无法解析主机地址 “museum.php.net”
You enter PHP Version was:7.2.25
Error! You entered a wrong version number, please check!

美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2019-11-23 14:33:15 | 显示全部楼层


Enter your choice (1, 2, 3, 4, 5, 6, 7 or exit): 4
Current PHP Version:5.6.40
You can get version number from http://www.php.net/
Please enter a PHP Version you want: 7.3.12

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

Notice: php-7.3.12.tar.bz2 not found!!!download now...
--2019-11-23 14:23:57--  https://www.php.net/distributions/php-7.3.12.tar.bz2
正在解析主机 www.php.net (www.php.net)... 失败:未知的名称或服务。
wget: 无法解析主机地址 “www.php.net”
--2019-11-23 14:24:09--  http://museum.php.net/php5/php-7.3.12.tar.bz2
正在解析主机 museum.php.net (museum.php.net)... 失败:未知的名称或服务。
wget: 无法解析主机地址 “museum.php.net”
You enter PHP Version was:7.3.12
Error! You entered a wrong version number, please check!
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2019-11-23 14:33:48 | 显示全部楼层

都找不到包,这是什么问题?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2019-11-23 14:35:06 | 显示全部楼层



[root@xx lnmp1.6]# wget -V
GNU Wget 1.14 在 linux-gnu 上编译。

+digest +https +ipv6 +iri +large-file +nls +ntlm +opie +ssl/openssl

Wgetrc:
    /etc/wgetrc (系统)
字符集: /usr/share/locale
编译: gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC="/etc/wgetrc"
    -DLOCALEDIR="/usr/share/locale" -I. -I../lib -I../lib -O2 -g -pipe
    -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
    --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic
链接程序: gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
    -fstack-protector-strong --param=ssp-buffer-size=4
    -grecord-gcc-switches -m64 -mtune=generic -lssl -lcrypto
    /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so
    -ldl -lz -lz -lidn -luuid -lpcre ftp-opie.o openssl.o http-ntlm.o
    ../lib/libgnu.a

Copyright (C) 2011 Free Software Foundation, Inc.
授权 GPLv3+: GNU GPL 第三版或更高版本
<http://www.gnu.org/licenses/gpl.html>。
这是自由软件:您可以自由地更改并重新分发它。
在法律所允许的范围内,没有任何担保。

最初由 Hrvoje Nikšić <hniksic@xemacs.org> 编写。
请将错误报告或建议寄给 <bug-wget@gnu.org>。
[root@xx lnmp1.6]#
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2019-11-23 15:17:04 | 显示全部楼层

升级php失败
发表于 2019-11-23 16:43:27 | 显示全部楼层

上面已经提示你了“wget: 无法解析主机地址 “www.php.net””
可能你机器上的dns设置有问题或者没有联网或网络不通
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-22 04:27 , Processed in 0.026977 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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