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

michalis's avatar

help deploying on aws elastic beenstalk

hey guys, I need your help

I deploy on elastic beanstalk ok, but when I try to access the website i get this

Warning: require(/var/app/current/bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in /var/app/current/bootstrap/autoload.php on line 17 Fatal error: require(): Failed opening required '/var/app/current/bootstrap/../vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/app/current/bootstrap/autoload.php on line 17

mind you, I have added a config file inside .elasticbeanstalk in order for composer to run after deployment

not sure what is going on, seems like composer is not managing to install dependencies?

0 likes
1 reply
michalis's avatar

ok i figured it out nevermind, it was my mistake, i didnt run composer properly

Please or to participate in this conversation.