3 réponses
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
sudo amazon-linux-extras install epel
sudo yum install epel-release
yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
sudo yum install php74-php-pecl-zip.x86_64
sudo cp /opt/remi/php74/root/usr/lib64/php/modules/zip.so /usr/lib64/php/modules/zip.so
sudo nano /etc/php.d/40-zip.ini
extension=zip.so
répondu il y a 4 ans
0
Be great to have repos updated to not have to do the above cheers. Php 7.4
répondu il y a 4 ans
0
It seems that the repository has been fixed.
The zip extension was bundled with php-cli-7.4.4-1.amzn2.
$ docker pull amazonlinux2:latest
$ docker run -it --rm amazonlinux:latest /bin/bash -c 'amazon-linux-extras install -y php7.4 && php -i'
...
zip
Zip => enabled
Zip version => 1.15.6
Libzip headers version => 1.3.2
Libzip library version => 1.3.2
...
répondu il y a 4 ans
Contenus pertinents
- demandé il y a un an
- demandé il y a 9 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 9 mois
- AWS OFFICIELA mis à jour il y a 9 mois
- AWS OFFICIELA mis à jour il y a 2 ans