$ 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 變更後銷毀並重建:
來源: