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
gefragt vor 5 Monaten562 Aufrufe
1 Antwort
0
Akzeptierte Antwort

sudo yum install -y p7zip

carlos
beantwortet vor 5 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen