悬赏已过期 后悬赏过期

AMH面板安装php8.0报错提示No package 'oniguruma' found?

邀请:

服务器硬件:2物理CPU(28 核心56 线程)+64GB内存+硬盘2TB
系统:centos7.0 64位
AMH面板版本:amh 7.1

AMH面板安装php8.0报错,提示如下:

checking if iconv is glibc's... yes
checking if iconv supports errno... yes
checking if iconv supports //IGNORE... yes
checking for IMAP support... no
checking for IMAP Kerberos support... no
checking for IMAP SSL support... no
checking whether to enable internationalization support... no
checking for LDAP support... no
checking whether to build with LDAP Cyrus SASL support... no
checking whether to enable multibyte string support... yes
checking whether to enable multibyte regex support (requires oniguruma)... yes
checking for oniguruma... no
configure: error: Package requirements (oniguruma) were not met:

No package 'oniguruma' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables ONIG_CFLAGS
and ONIG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
mkdir: cannot create directory '/usr/local/php-8.0/var/run/pid': No such file or directory
mv: cannot move '/usr/ext_8.0' to '/usr/local/php-8.0/extcode': No such file or directory
[Notice] php-8.0 is not installed.

使用了命令:

wget code.amh.sh/files/oniguruma-6.8.2-1.el7.x86_64.rpm
wget code.amh.sh/files/oniguruma-devel-6.8.2-1.el7.x86_64.rpm
yum -y install ./oniguruma-6.8.2-1.el7.x86_64.rpm ./oniguruma-devel-6.8.2-1.el7.x86_64.rpm

问题依旧存在。

您的回答

回答

默认排序 时间排序
图片审查中...
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索