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?

已提問 1 年前檢視次數 1681 次
4 個答案
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

已回答 1 年前
0

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

已回答 1 年前
  • 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
專家
已回答 1 年前
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".

已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南