Skip to main content

lando PHP version issue 7.4.x instead wanting >= 8.0.2

I installed Lando 3.6.2 and Laravel 9.  When I visit the web page, I getting

Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2". You are running 7.4.28. in /app/vendor/composer/platform_check.php on line 24

 

Problem solving

Opening the directory in VS Code, if I run the command 

php -v

The response I'm getting is

Building a Drupal or Laravel instance on OSX using Lando and Docker

As a web developer, you will most likely need to run local copies of a bunch of different web sites. Regularly switching between several sites daily.  Sometime Drupal, other Laravel and whatever frameworks that are in your toolkit.

 

Install Docker and Lando

Do you have Docker installed?  No, then go to the Docker Desktop page and download.

Subscribe to Lando