Hello Sir, I facing 500 server error issue , can you please give me some tips. what happens over there ?
The fact that you get a response from the webserver means the docker environment works.
If you get require_once ... vendor/autoload error, then you'd probably missing composer dependencies.
require_once ... vendor/autoload
docker exec -it laravel-app bash -c "sudo -u devuser /bin/bash"
gets you inside the container.
devuser@0e382dff6a23:/var/www/html$
then
composer install php artisan key:generate php artisan migrate php artisan config:cache
okay i will check again .
Thank you .
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hello Sir, I facing 500 server error issue , can you please give me some tips. what happens over there ?
The fact that you get a response from the webserver means the docker environment works.
If you get
require_once ... vendor/autoload
error, then you'd probably missing composer dependencies.gets you inside the container.
then
okay i will check again .
Thank you .