Why is the php version in the laravel project not the same as the php version in the docker-compose workspace?
My laradock .env has set PHP_VERSION=8.1 and build. Looks useful in workspace.
But when executing "echo phpversion()" in the actual Laravel project, the php version is 7.2.34? Please tell me how to make the Laravel project execute php 8.1. Thanks a lot!!!!


