Skip to content
Advertisement

I have tried to run an existing laravel project. But during composer update I got this error:

Problem 1

JavaScript

Problem 2

JavaScript

Problem 3

JavaScript

Advertisement

Answer

The error messages are quite clear. The packages you want to install require PHP 7, but you have PHP 8 installed.

Your options are:

  • Downgrade your PHP version
  • Upgrade the package versions you depend on, if there are newer PHP 8 compatible versions
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement