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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ