douci4026 2017-04-20 21:18
浏览 99

在AWS EC2上启用Zip PHP扩展

I'm trying to use EBS to set up a Moodle 3.1 platform on AWS EBS. I've set up the environment, uploaded the moodle zip package which deploys correctly. I run through the web installation, connect to the db, but I get stuck at the pre-requisite checks with the following error:

The Zip PHP extension is now required by Moodle, info-ZIP binaries or PclZip library are not used anymore.

I'm not quite certain how to:

  1. log into the EC2 instance that the EBS environment created
  2. how to install the php extension once I'm in there

I've looked through the aws and moodle docs but they all have you ssh into an EC2 instance. I've logged into my other EC2 instances (not EBS) with putty, but I'm not sure how/which instance I need to SSH into to correct this error. I also though that maybe the config settings for EBS - Zlib output compression: On/True would do the trick but that hasn't worked.

Anything else I could try?

  • 写回答

2条回答 默认 最新

  • doutan8601 2017-04-23 11:35
    关注

    Simply type :

    sudo yum install php-zip
    sudo service httpd restart
    
    评论

报告相同问题?

悬赏问题

  • ¥20 基于MSP430f5529的MPU6050驱动,求出欧拉角
  • ¥20 Java-Oj-桌布的计算
  • ¥15 powerbuilder中的datawindow数据整合到新的DataWindow
  • ¥20 有人知道这种图怎么画吗?
  • ¥15 pyqt6如何引用qrc文件加载里面的的资源
  • ¥15 安卓JNI项目使用lua上的问题
  • ¥20 RL+GNN解决人员排班问题时梯度消失
  • ¥60 要数控稳压电源测试数据
  • ¥15 能帮我写下这个编程吗
  • ¥15 ikuai客户端l2tp协议链接报终止15信号和无法将p.p.p6转换为我的l2tp线路