Topic: Issues install php modules on centos 8

Hello Remi,

I have enable your repo on centos 8 and used the same command below that i use on centos 7

yum install -y  php php-fpm php-common php-xml php-mbstring php-json php-zip php-opcache php-pecl-http php-mysqlnd php-xmlrpc php-tidy php-curl php-intl php-gmp phpunit
Last metadata expiration check: 0:06:47 ago on Thu 14 May 2020 05:17:23 PM UTC.
No match for argument: php-pecl-http
No match for argument: php-tidy
No match for argument: phpunit
Error: Unable to find a match: php-pecl-http php-tidy phpunit

Do you have any idea where i can find the other software like php-pecl-http ?


yum repolist
CentOS-8 - AppStream                             12 kB/s | 4.3 kB     00:00
CentOS-8 - Base                                  13 kB/s | 3.9 kB     00:00
CentOS-8 - Extras                               5.7 kB/s | 1.5 kB     00:00
Extra Packages for Enterprise Linux Modular 8 - 121 kB/s |  19 kB     00:00
Extra Packages for Enterprise Linux 8 - x86_64  118 kB/s |  20 kB     00:00
Remi's Modular repository for Enterprise Linux  9.1 kB/s | 3.5 kB     00:00
Safe Remi's RPM repository for Enterprise Linux 7.8 kB/s | 3.0 kB     00:00
repo id       repo name                                                   status
AppStream     CentOS-8 - AppStream                                        5,318
BaseOS        CentOS-8 - Base                                             1,661
epel          Extra Packages for Enterprise Linux 8 - x86_64              5,525
epel-modular  Extra Packages for Enterprise Linux Modular 8 - x86_64          0
extras        CentOS-8 - Extras                                              16
remi-modular  Remi's Modular repository for Enterprise Linux 8 - x86_64      16
remi-safe     Safe Remi's RPM repository for Enterprise Linux 8 - x86_64  2,285

Re: Issues install php modules on centos 8

> I have enable your repo on centos 8 and used the same command below that i use on centos 7

No, see the Wizard (link on the top right corner of this page), commands are quite different, as you now have to enable the proper module

(by default, the php 7.2 module from CentOS AppStream will be used, without any extension)

And noarch packages (such as "phpunit") are in "remi" repository which is not enabled by default

Notice: lot of things are usually in EPEL, but it is mostly empty for now, blocked by infrastructure issues

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi