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?

gefragt vor einem Jahr1681 Aufrufe
4 Antworten
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

beantwortet vor einem Jahr
0

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

beantwortet vor einem Jahr
  • 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
EXPERTE
beantwortet vor einem Jahr
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".

beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen