The error itself says right? You need php 8.0.2 at least, and you have 8.0.1. So upgrade your PHP first.
Feb 14, 2022
7
Level 2
Laravel 9 installation via composer
Hi all, i'm trying to install laravel 9 in homestead, i have php8.0.1 but when i try to install via composer i get this error:
Someone has happened to this problem and how they solved it.Thank you.
Level 73
@palla451 that's what the error says, so yes 8.0.2 must be installed. And apt-get update updates only the package lists. To actually upgrade the packages you have to run:
sudo apt-get upgrade or sudo apt-get dist-upgrade and you can try to be specific with: sudo apt-get install php8.0.2
Please or to participate in this conversation.