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?

1 Risposta
0
Risposta accettata

sudo yum install -y p7zip

carlos
con risposta 5 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande