You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After following the instructions to build Docker image by docker-compose,
When access url: http://localhost:8000/
Errors appear as:
Warning: require(/var/www/public/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/public/index.php on line 24
Fatal error: require(): Failed opening required '/var/www/public/../vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /var/www/public/index.php on line 24
The text was updated successfully, but these errors were encountered:
I realised I started from Docker directly. So that I did not install composer (nor installation PHP in order to keep everything inside of Docker) on my host machine.
So that, the 'vendor' folder is not found.
I will try to see if I can modify Dockerfile to install composer and installation in docker directly.
After following the instructions to build Docker image by docker-compose,
When access url: http://localhost:8000/
Errors appear as:
Warning: require(/var/www/public/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/public/index.php on line 24
Fatal error: require(): Failed opening required '/var/www/public/../vendor/autoload.php' (include_path='.:/usr/local/lib/php') in /var/www/public/index.php on line 24
The text was updated successfully, but these errors were encountered: