This is my first question. I am a beginner. I'm working on a WordPress project with Sage. When I try to run the template I get the error:
The composer version is okay, but the Lando version is php7.4, and I need the php8.1 version.
I tried changing the php version in lando.yml and then using the command lando rebuild but it didn't work. I'm also working with manjaro. Any help is welcome. Thanks!
You can start from
lando init
Then you will get a
.lando.yml
, where you need to specify the php version ofappserver
.You may also need to destroy and rebuild after making php changes:
source: