1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Thank you for surfacing this issue with our docs. We have updated our docs https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/php-configuration-composerupdate.html to contain new sample commands for updating composer and setting the COMPOSER_HOME variable. Due to the changes related to composer introduced in the February 22, 2024, AL2023 platform release and the February 28, 2024, AL2 platform release, updating composer may fail if COMPOSER_HOME is set at the time of the self-update.
Pease try the following EB extension:
commands:
01updateComposer:
command: /usr/bin/composer.phar self-update 2.7.0
option_settings:
- namespace: aws:elasticbeanstalk:application:environment
option_name: COMPOSER_HOME
value: /home/webapp/composer-home
répondu il y a un mois
Contenus pertinents
- demandé il y a un an
- demandé il y a 2 mois
- demandé il y a 6 mois
- AWS OFFICIELA mis à jour il y a 4 mois
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a un an