Does a Laravel project require 2 versions of PHP ?
I am working on a Laravel project. I have 2 versions of PHP in my computer. If I set PHP version 8.1 and run composer update I am getting below error.
If I set PHP version 7.4 and run composer update I am getting below error.
What will be the solution ?

