centos8 - Centos 8,yum 更新命令不起作用。给出以下错误。找不到 php-common-7.2
问题描述
我试图删除 php-common-7.2 但找不到它的位置。
Problem: package php-pecl-igbinary-3.2.2-1.el8.remi.7.2.x86_64 requires php(api) = 20170718-64, but none of the providers can be installed - package php-pecl-igbinary-3.2.2-1.el8.remi.7.2.x86_64 requires php(zend-abi) = 20170718-64, but none of the providers can be installed - cannot install both php-common-7.2.34-3.el8.remi.x86_64 and php-common-7.4.16-1.el8.remi.x86_64 - cannot install both php-common-7.2.34-4.el8.remi.x86_64 and php-common-7.4.16-1.el8.remi.x86_64 - cannot install the best update candidate for package php-pecl-igbinary-3.2.1-1.el8.remi.7.4.x86_64 - problem with installed package php-common-7.4.16-1.el8.remi.x86_64 - package php-common-7.2.24-1.module_el8.2.0+313+b04d0a66.x86_64 is filtered out by modular filtering (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
我的服务器配置是
NAME="CentOS Linux" VERSION="8" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="8" PLATFORM_ID="platform:el8" PRETTY_NAME="CentOS Linux 8" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:8" HOME_URL="https://centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-8" CENTOS_MANTISBT_PROJECT_VERSION="8" Apache Web Server php7.4-cli using Webmin & virtaulmin`
解决方案
您正在尝试使用 PHP 7.4 为 PHP 7.2 安装 igbinary 扩展。这行不通。
如需正确配置,请按照向导说明进行操作
并且没有足够的信息来获得更多帮助:
rpm -qa php\*
dnf repolist
dnf module list PHP
推荐阅读
- javascript - JS 链接函数
- python - LSTM 时间序列 - 奇怪的 val_accuarcy,使用哪种归一化方法以及在模型拟合后在生产中做什么
- sapui5 - UI5:如何在 sap.m.MessagePage 的图标属性中包含 png 图像
- python - ModuleNotFoundError:没有名为“pyttsx3.drivers”的模块
- reactjs - Redux-React 使用 api 调用填充 initialState
- c - C如何将指针分配给指针
- powerbi - 表格 DAX - 无论上下文如何,在日历中获取最小日期的最佳方法
- laravel - 我需要帮助编写 Advance Laravel Where 子句
- go - 无法在 Golang 中将字节转换为 int
- json - 使用反射迭代 json