Skip to content

PHP 8.4 - Modify Lando recipe so can test under PHP 8.4 #477

@yorkshire-pudding

Description

@yorkshire-pudding

... it has been a challenge getting the lando testing environment to work with PHP 8.4, primarily due to how the newer PHP image uses newer database command line clients that cause all sorts of issues. See here if you are interested: lando/php#167

In my attempts to find a solution, I have made some draft changes to Bee that should be documented. To start I will create a list here, but may well create individual issues for some of these:

  • Lando's PHP images use the MariaDb client tools with symlinks from MySQL named ones to these; newer versions of the MariaDB client deprecate the use of symlinks.
  • Newer versions of the mariaDB client tools also seemed to verify the SSL server certificate which caused problems.
  • I have made the Lando machine install the MySQL client tools to remove this; for MySQL this will reflect most MySQL server, though I may need to start testing with MariaDB separately, at least for the DB tests.

Note there is an issue to try and get a sustainable fix that isn't a workaround: lando/lando#3833

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions