Topic: PHP 74 php-zip package?

Hi All,

Can someone confirm either way if the "php-zip" package is available in the remi php74 repo?
I see these packages in remi php74 repo:

php-pclzip.noarch
php-pecl-zip.x86_64

and this in remi "safe mode":
php74-php-pecl-zip.x86_64

but do not know if any is the php74 version of "php-zip" package in eg. Red Hat SCL php73 repo
rh-php73-php-zip.x86_64.

Thanks much,
Ray

Re: PHP 74 php-zip package?

as explained by the wizard... when you need foo extension: yum install php-foo

So, if using single version from "remi-php74"

  yum install php-zip

Desktop: Fedora 31 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 32 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test

Re: PHP 74 php-zip package?

You should NEVER rely on the package name, the package layout have changed and will change again in the future, lot of extensions are provided by a package with a different name

Ex:
* json => php-pecl-json => php-pecl-jsonc (PHP 5.x) => php-json (PHP 7.x) => php-common (PHP 8.x)
* mysqli => php-mysqlnd
* xmlwriter => php-xml
* redis => php-pecl-redis => php-pecl-redis4 => php-pecl-redis5
* zip => php-pecl-zip
* sodium => php-pecl-libsodium => php-pecl-libsodium2 => php-sodium
* etc

And in all cases, "yum install php-foo" should work, if the extension is available.

So: yum install php-json php-mysqli php-xmlwriter php-redis php-zip php-sodium

And this ensure you get the latest version.

Desktop: Fedora 31 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 32 x86_64 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 6.10 x86_64 with EPEL, remi, remi-php72 and remi-php72-test

Re: PHP 74 php-zip package?

Thanks all for replying -
Best,
Ray