I would like to use Php 8.0 in my homestead but i run into this error when i open the site "Your Composer dependencies require a PHP version ">= 8.0.0". You are running 7.4.11"
In my composer.json :
"require": {
"php": "^8.0"
Running php --version in homestead machine (Ubuntu 20.04.1 LTS) gives this :
PHP 8.0.0rc1 (cli) (built: Oct 10 2020 14:16:46) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.0-dev, Copyright (c) Zend Technologies
with Zend OPcache v8.0.0rc1, Copyright (c), by Zend Technologies
I've seen somewhere that there's a difference between web php version and CLI version, but i'm not sure if that's related.