如何在 Amazon Linux AMI 上启用 PHP 7.0 Zip 模块 [英] How to Enable PHP 7.0 Zip module on Amazon Linux AMI
本文介绍了如何在 Amazon Linux AMI 上启用 PHP 7.0 Zip 模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用命令行在 Amazon Linux AMI 上安装了 PHP 7.0.但是,我无法使用命令安装 PHP Zip 模块
Using the command line, I have installed PHP 7.0 on the Amazon Linux AMI. However, I am unable to install the PHP Zip Module using the command
sudo yum install php7.0-zip
我收到回复
No package php7.0.zip available.
我很高兴开始在我所有的 PHP 网站上使用 PHP7,但我有点困惑为什么我无法安装这个特定的模块.任何帮助将不胜感激!
I am excited to start using PHP7 on all my PHP websites, but am a little confused why I am unable to install this particular module. Any help would be much appreciated!
推荐答案
Welp,在尝试了相同命令的几种变体之后...
Welp, After trying several variations of the same command...
sudo yum install php7.0-zip
sudo yum install php7-zip
这个作品
sudo yum install php70-zip
这篇关于如何在 Amazon Linux AMI 上启用 PHP 7.0 Zip 模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文