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
demandé il y a 5 mois562 vues
1 réponse
0
Réponse acceptée

sudo yum install -y p7zip

carlos
répondu il y a 5 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions