Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Your PHP installation is too old. Refer to the [Drupal PHP requirements] - Vanilla Drupal 9 Recipe from Lando documentation #63

Closed
prodkt opened this issue Aug 2, 2023 · 4 comments

Comments

@prodkt
Copy link

prodkt commented Aug 2, 2023

Your PHP installation is too old. Refer to the Drupal PHP requirements for the currently recommended PHP version for this release. See PHP's version support documentation for more information on PHP's own support schedule.

Lando PHP container
image

Not that this matters much, but just for coverage this is my local
image

I used your Vanilla Drupal 9 recipe in the docs, and although I am on a non-supported version of docker, that doesn't appear to be the cause of issue here as an unsupported php version is being used by your recipe.
image

@prodkt prodkt added the drupal label Aug 2, 2023
@pirog pirog added Needs Triage and removed drupal labels Aug 2, 2023
@pirog pirog transferred this issue from lando/lando Aug 2, 2023
@AaronFeledy
Copy link
Collaborator

What does lando ssh -c "php -v" show?

@Stargate-project
Copy link

Stargate-project commented Aug 8, 2023

Stop using php 7.4 as the default for every PHP project. That is the problem. Php 8.1 should be the default.

@AaronFeledy
Copy link
Collaborator

The default should align with the product that you're running and the adoption level at hosting providers. The Drupal 9 recipe runs PHP 8.0 by default, which is supported by all versions of Drupal 9 and widely supported by hosting providers. Which version of Drupal are you running? Drupal 10 requires PHP 8.1, which is not installed by default on the Drupal 9 recipe.

@reynoldsalec
Copy link
Sponsor Member

Note that all the Drupal recipes should be on the relevant PHP versions, if anyone experiences otherwise, make sure your Lando is up-to-date (run lando update on 3.21+ versions).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants