Skip to content

Setting PHP to version 8.1 with a drupal7/8 recipes makes Drush fail #152

@f1rf1n

Description

@f1rf1n

I does not seem possible to set a newer php version and use drush for drupal7 and 8 recipes.

I have attached my yml file lando.yml.txt

Steps to reproduce:

  • lando init
  • choose name etc, and choose drupal7 (or drupal8) as the recipe
  • copy drupal files and import database
  • start up the app
  • type lando drush -> gives status report
  • add the following to lando.yml

services:
appserver:
type: php:8.1

  • lando rebuild -y
  • run lando drush again
    ERROR: OCI runtime exec failed: exec failed: container_linux.go:370: starting container process caused: exec: "drush": executable file not found in $PATH: unknown

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions