全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 705|回复: 6
打印 上一主题 下一主题

甲骨文 Ubuntu 宝塔上 想装 php5.2 怎么实现

[复制链接]
跳转到指定楼层
1#
发表于 2023-7-5 09:58:54 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 Toools 于 2023-7-5 11:15 编辑

有没办法
默认安装 不管是急速 还是编译, 都失败

ARM    4H  24G   由于有程序需要php5.2



报错如下



Connecting to dg1.bt.cn (dg1.bt.cn)|36.133.1.8|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1809 (1.8K) [application/octet-stream]
Saving to: ‘/patch/debian_patches_disable_SSLv2_for_openssl_1_0_0.patch’

0K . 100% 203M=0s

2023-07-05 11:10:21 (203 MB/s) - ‘/patch/debian_patches_disable_SSLv2_for_openssl_1_0_0.patch’ saved [1809/1809]

--2023-07-05 11:10:21-- https://dg1.bt.cn/src/patch/php-5.2-multipart-form-data.patch
Resolving dg1.bt.cn (dg1.bt.cn)... 36.133.1.8, 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9
Connecting to dg1.bt.cn (dg1.bt.cn)|36.133.1.8|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2150 (2.1K) [application/octet-stream]
Saving to: ‘/patch/php-5.2-multipart-form-data.patch’

0K .. 100% 434M=0s

2023-07-05 11:10:21 (434 MB/s) - ‘/patch/php-5.2-multipart-form-data.patch’ saved [2150/2150]

patching file configure
Hunk #1 succeeded at 2176 (offset 11 lines).
patching file configure.in
patching file main/main.c
patching file main/php_globals.h
patching file main/php_variables.c
patching file main/php_version.h
patching file ext/dom/node.c
Hunk #1 succeeded at 1950 (offset 55 lines).
patching file ext/dom/documenttype.c
Hunk #1 succeeded at 215 (offset 10 lines).
patching file ext/simplexml/simplexml.c
Hunk #1 succeeded at 1343 (offset -74 lines).
patching file ext/openssl/xp_ssl.c
Hunk #1 succeeded at 332 (offset 4 lines).
Hunk #2 succeeded at 354 (offset 4 lines).
Hunk #3 succeeded at 583 (offset -50 lines).
Hunk #4 succeeded at 819 (offset -98 lines).
patching file main/rfc1867.c
ln: failed to create symbolic link '/usr/lib/libjpeg.so': File exists
ln: failed to create symbolic link '/usr/lib/libpng.so': File exists
cat: /www/server/panel/install/php/52/config.pl: No such file or directory
Forcing buildconf
buildconf: checking installation...
buildconf: autoconf not found.
You need autoconf version 2.13 or newer installed
to build PHP from CVS.
make: *** [build/build.mk:40: buildmk.stamp] Error 1
creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking host system type... ./config.guess: unable to guess system type

This script, last modified 2008-01-23, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
and
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD

If the version you run (./config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to in order to provide the needed
information to handle your system.

config.guess timestamp = 2008-01-23

uname -m = aarch64
uname -r = 5.15.0-1038-oracle
uname -s = Linux
uname -v = #44~20.04.1-Ubuntu SMP Thu Jun 22 16:39:12 UTC 2023

/usr/bin/uname -p = aarch64
/bin/uname -X =

hostinfo =
/bin/universe =
/usr/bin/arch -k =
/bin/arch = aarch64
/usr/bin/oslevel =
/usr/convex/getsysinfo =

UNAME_MACHINE = aarch64
UNAME_RELEASE = 5.15.0-1038-oracle
UNAME_SYSTEM = Linux
UNAME_VERSION = #44~20.04.1-Ubuntu SMP Thu Jun 22 16:39:12 UTC 2023
configure: error: can not guess host type; you must specify one
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
========================================================
Ubuntu 20.04.2 LTS
\l
Bit:64 Mem:23862M Core:4 gcc:9.4.0 cmake:3.16.3
Linux 5.15.0-1038-oracle aarch64
ERROR: php-5.2 installation failed.
|-Successify --- 命令已执行! ---
2#
发表于 2023-7-5 10:08:16 | 只看该作者
ARM还是AMD
3#
发表于 2023-7-5 10:11:18 | 只看该作者
5.3都装不上。。。
4#
发表于 2023-7-5 10:25:37 | 只看该作者
楼主您好,可以尝试查看一下日志,然后搜索相关的解决方法。
5#
 楼主| 发表于 2023-7-5 11:08:58 | 只看该作者
6#
 楼主| 发表于 2023-7-5 11:14:10 | 只看该作者
Connecting to dg1.bt.cn (dg1.bt.cn)|36.133.1.8|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1809 (1.8K) [application/octet-stream]
Saving to: ‘/patch/debian_patches_disable_SSLv2_for_openssl_1_0_0.patch’

0K . 100% 203M=0s

2023-07-05 11:10:21 (203 MB/s) - ‘/patch/debian_patches_disable_SSLv2_for_openssl_1_0_0.patch’ saved [1809/1809]

--2023-07-05 11:10:21-- https://dg1.bt.cn/src/patch/php-5.2-multipart-form-data.patch
Resolving dg1.bt.cn (dg1.bt.cn)... 36.133.1.8, 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9
Connecting to dg1.bt.cn (dg1.bt.cn)|36.133.1.8|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2150 (2.1K) [application/octet-stream]
Saving to: ‘/patch/php-5.2-multipart-form-data.patch’

0K .. 100% 434M=0s

2023-07-05 11:10:21 (434 MB/s) - ‘/patch/php-5.2-multipart-form-data.patch’ saved [2150/2150]

patching file configure
Hunk #1 succeeded at 2176 (offset 11 lines).
patching file configure.in
patching file main/main.c
patching file main/php_globals.h
patching file main/php_variables.c
patching file main/php_version.h
patching file ext/dom/node.c
Hunk #1 succeeded at 1950 (offset 55 lines).
patching file ext/dom/documenttype.c
Hunk #1 succeeded at 215 (offset 10 lines).
patching file ext/simplexml/simplexml.c
Hunk #1 succeeded at 1343 (offset -74 lines).
patching file ext/openssl/xp_ssl.c
Hunk #1 succeeded at 332 (offset 4 lines).
Hunk #2 succeeded at 354 (offset 4 lines).
Hunk #3 succeeded at 583 (offset -50 lines).
Hunk #4 succeeded at 819 (offset -98 lines).
patching file main/rfc1867.c
ln: failed to create symbolic link '/usr/lib/libjpeg.so': File exists
ln: failed to create symbolic link '/usr/lib/libpng.so': File exists
cat: /www/server/panel/install/php/52/config.pl: No such file or directory
Forcing buildconf
buildconf: checking installation...
buildconf: autoconf not found.
You need autoconf version 2.13 or newer installed
to build PHP from CVS.
make: *** [build/build.mk:40: buildmk.stamp] Error 1
creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking host system type... ./config.guess: unable to guess system type

This script, last modified 2008-01-23, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
and
http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD

If the version you run (./config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to in order to provide the needed
information to handle your system.

config.guess timestamp = 2008-01-23

uname -m = aarch64
uname -r = 5.15.0-1038-oracle
uname -s = Linux
uname -v = #44~20.04.1-Ubuntu SMP Thu Jun 22 16:39:12 UTC 2023

/usr/bin/uname -p = aarch64
/bin/uname -X =

hostinfo =
/bin/universe =
/usr/bin/arch -k =
/bin/arch = aarch64
/usr/bin/oslevel =
/usr/convex/getsysinfo =

UNAME_MACHINE = aarch64
UNAME_RELEASE = 5.15.0-1038-oracle
UNAME_SYSTEM = Linux
UNAME_VERSION = #44~20.04.1-Ubuntu SMP Thu Jun 22 16:39:12 UTC 2023
configure: error: can not guess host type; you must specify one
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
========================================================
Ubuntu 20.04.2 LTS
\l
Bit:64 Mem:23862M Core:4 gcc:9.4.0 cmake:3.16.3
Linux 5.15.0-1038-oracle aarch64
ERROR: php-5.2 installation failed.
|-Successify --- 命令已执行! ---
7#
发表于 2023-7-5 11:16:06 来自手机 | 只看该作者
我此前遇到过,宝塔死活装不上环境的事,最后换了IP解决了。事后分析可能被高墙给干扰了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2025-11-9 14:46 , Processed in 0.086740 second(s), 9 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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