当前位置: 首页 > 知识库问答 >
问题:

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

习高格
2024-01-13

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

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

checking if iconv is glibc's... yeschecking if iconv supports errno... yeschecking if iconv supports //IGNORE... yeschecking for IMAP support... nochecking for IMAP Kerberos support... nochecking for IMAP SSL support... nochecking whether to enable internationalization support... nochecking for LDAP support... nochecking whether to build with LDAP Cyrus SASL support... nochecking whether to enable multibyte string support... yeschecking whether to enable multibyte regex support (requires oniguruma)... yeschecking for oniguruma... noconfigure: error: Package requirements (oniguruma) were not met:No package 'oniguruma' foundConsider adjusting the PKG_CONFIG_PATH environment variable if youinstalled software in a non-standard prefix.Alternatively, you may set the environment variables ONIG_CFLAGSand 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 directorymv: 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.

借鉴了这个问题中的答案,https://segmentfault.com/q/1010000042089836

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

问题依旧存在。

共有1个答案

岑俊弼
2024-01-13

oniguruma这个包正常是自动匹配安装的,
不能安装成功的话,以下的命令执行是返回哪些信息,要看报什么错误。
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

 类似资料:
  • 我新的服务器 debian12 安装AMH面板 已经1.5小时 还在安装。是什么原因,我都选择不安装软件。腾讯云2核4G的那种。 源更换 腾讯云的 DNS:114.114.114.114

  • centos6.8能安装AMH面板吗,有说明吗

  • amh在Debian 11 x64安装时报错。 --2023-11-16 07:33:36-- https://dl.amh.sh/amh.sh Resolving dl.amh.sh (dl.amh.sh)... 45.79.70.161 Connecting to dl.amh.sh (dl.amh.sh)|45.79.70.161|:443... connected. ERROR: The

  • 请问,amh面板如何安装open-RASP ? 参考open-rasp官方文档

  • 问题描述 一直到这个地方就停了,卡住了 问题出现的平台版本及自己尝试过哪些方法 相关代码 粘贴代码文本(请勿用截图) 软件包 1:make-3.82-24.el7.x86_64 已安装并且是最新版本 软件包 curl-7.29.0-59.el7_9.1.x86_64 已安装并且是最新版本 软件包 2:tar-1.26-35.el7.x86_64 已安装并且是最新版本 正在解决依赖关系 --> 正在

  • AMH面板安装微擎系统,提示服务器错误 1