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?

feita há um ano1681 visualizações
4 Respostas
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

respondido há um ano
0

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

respondido há um ano
  • 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
ESPECIALISTA
respondido há um ano
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".

respondido há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas