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
asked 5 months ago539 views
1 Answer
0
Accepted Answer

sudo yum install -y p7zip

carlos
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions