I have cloned the Laravel project and want to upgrade the PHP version in the Laravel project from 7.3 to 7.4. Because when I run composer install, it shows an error like this:
Your Composer dependencies require a PHP version ">= 7.4.0". You are running 7.3.24
I have installed PHP 7.4 on my laptop, when I check on terminal php -v it shows 7.4, but when I check php -v in laravel project it show 7.3. please anyone can tell me how to update the PHP version on the Laravel project.