Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

alidi's avatar
Level 1

AWS Elastic Beanstalk php artisan storage:link configuration

Hi

I'm trying to do php artisan artisan storage:link

in .ebextensions folder, I add mysritp.config I write

container_commands: 01-storageLink: command: "php artisan storage:link"

and after I deploy the project it shows for me that error

failed, because: Could not open input file: artisan (ElasticBeanstalk::ExternalInvocationError)

anyone has an idea way that error appear for me?

thank you

0 likes
0 replies

Please or to participate in this conversation.