php-zip missing in linux 2022

0

upgraded to new servers with AWS Linux 2022 (php 8.1.7). No longer have php-zip module available. No matching package found when trying to install manually. Just tried installing Webmin and it failed looking for "perl-Encode-Detect". Tried installing this and it also seems to be missing from latest Linux 2022 distro.

  • Also missing php-imap module. Any workarounds?

asked a year ago1664 views
4 Answers
1

I had this issue too but there is a workaround: https://github.com/amazonlinux/amazon-linux-2023/issues/320

bwaters commented May 4, 2023: sudo yum install php8.1-devel php-pear libzip libzip-devel sudo pecl install zip echo "extension=zip.so" | sudo tee /etc/php.d/20-zip.ini

answered a year ago
0

that command only returns: unable to find match: php-zip this is AWS Linux 2022 RC from Nov.

answered a year ago
  • I just launched a brand-new instance in the Sydney region and that package is available. Can you provide more details? Which AMI? Which region?

  • AMI used was: amazon/al2022-ami-minimal-2022.0.20221103.1-kernel-5.15-arm64 Region: US-East (N. Virginia)

  • That is a preview release so it's unlikely to have support for everything yet. The 5.10 kernel release (which is the non-preview version) is what I tested earlier.

0

When you say "install manually" what commands are you running?

I've just run sudo yum install php-zip on my instance and the package appears to be there.

profile pictureAWS
EXPERT
answered a year ago
0

Just upgraded to RC 20230118. still cannot install php-zip

also, when system is restarted it says that there is a newer release available but lists "20221207".

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions