При попытке установить php-opcache и php-pecl-apcu с помощью репозитории Remi, я столкнулся со следующей ошибкой:
Код: Выделить всё
dnf --enablerepo=remi install php-opcache php-pecl-apcu
All matches were filtered out by modular filtering for argument: php-opcache
All matches were filtered out by modular filtering for argument: php-pecl-apcu
Код: Выделить всё
cat /etc/redhat-release
Rocky Linux release 8.9 (Green Obsidian)
Когда я настроил другой сервер Rocky8 и протестировал его, установка прошла хорошо на сервер проверки.
Когда я сравнивал их, в среде, где установка не удалась, модуль был включен.
Код: Выделить всё
dnf module list php
Код: Выделить всё
@modulefailsafe
Name Stream Profiles Summary
php remi-8.3 [e] common, devel, minimal PHP scripting language
Rocky Linux 8 - AppStream
Name Stream Profiles Summary
php 7.2 [d] common [d], devel, minimal PHP scripting language
php 7.3 common [d], devel, minimal PHP scripting language
php 7.4 common [d], devel, minimal PHP scripting language
php 8.0 common [d], devel, minimal PHP scripting language
Код: Выделить всё
dnf module disable php:remi-8.3
Подробнее здесь: https://stackoverflow.com/questions/785 ... repository