$ lando init
? From where should we get your app's codebase? remote git repo or archive
? Please enter the URL of the git repo or tar archive containing your application code https://wordpress.org/latest.tar.gz
? What recipe do you want to use? wordpress
? Where is your webroot relative to the init destination? wordpress
? What do you want to call this app? my-wordpress-app
您可以从
lando init
开始然后你会得到一个
.lando.yml
,你需要在其中指定appserver
的php版本。您可能还需要在进行 php 更改后销毁并重建:
来源: