How to install p7zip using .ebextensions on AL2?

0

My PHP projects uses the following package: https://github.com/Gemorroj/Archive7z

According to the offical doc of that package, it uses https://github.com/p7zip-project/p7zip on Linux.

I received the following error:

   Archive7z\Exception

  Binary of 7-zip is not available

  at vendor/gemorroj/archive7z/src/Archive7zTrait.php:57

How can I install p7zip on AL2?

carlos
已提问 5 个月前562 查看次数
1 回答
0
已接受的回答

sudo yum install -y p7zip

carlos
已回答 5 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则