Closed kaszarobert closed 7 months ago
8.3.0 stable was released last week: https://www.php.net/ChangeLog-8.php#8.3.0
There are still no official PHP images which is used in Lando PHP for 8.3.0, only for 8.3.0-RC6. Hopelly, they will publish one ASAP and we can have a MR.
Images have been tagged!
@reynoldsalec I got the latest Lando but can't install it because this issue is not just a PHP update. Php 8.3 update for Drupal 10 recipe.
ERROR ==> drupal-php version 8.3 is not supported
@emircanerkul this change hasn't been deployed yet to the installer release of Lando, but you can either do a custom install of the PHP plugin (make sure to use the instructions in the "Docker" tab) OR you can try out the pre-release of Lando v3.21 that has a lando update
command that will update your plugins to their latest versions. Note that release is currently alpha, so YMMV; you can read the extended release notes here: https://lando.dev/blog/2024/01/16/v321-extended.html
@reynoldsalec I've tried following custom install of php plugin for docker (in wsl) but the plugin never got installed. Why is this still not released, it had been 2 months already?
EDIT: I managed to manually install php plugin (in wsl w/o docker) but when trying to start php8.3 I get the following error:
Error response from daemon: manifest for devwithlando/php:8.3-fpm-4 not found: manifest unknown: manifest unknown
Hi @reynoldsalec
I installed the latest and did an update
@lando/php ⚠ Update available https://github.com/lando/php/releases/tag/v1.1.0
But my problem is ERROR ==> drupal-php version 8.3 is not supported
not just related to lando/php
package. I think lando/drupal
package should be updated accordingly.
@pfrenssen while it seems like you added devwithlando/php:8.3-apache-4, it does not appear in https://hub.docker.com/r/devwithlando/php/tags?page=1&name=8.3
It looks like something is not right in your github actions file. It seems like it's only building php 7.3 https://github.com/lando/php/actions/runs/7186820860/job/19573056931
As you can see https://hub.docker.com/r/devwithlando/php/tags?page=1&name=7.3 is updated a few hours ago, but https://hub.docker.com/r/devwithlando/php/tags?page=1&name=8.2 is updated 9 months ago, and 8.3 is not in there.
I opened a new issue for this deploying problem.
Note that the deployment issue should be fixed: https://github.com/lando/php/pull/101
Soon a new version of PHP will be released. Although, it is not yet stable but it would be good to add a possibility to use that in Lando even before a stable release.
Until that, we have to use a custom Docker image. Here's what we've been using recently to test out webapps and Drupal sites manually under PHP 8.3 RC4 with Apache + with working xdebug (also using xdebug mode toggle script from https://github.com/lando/lando/issues/1668#issuecomment-772829423):
.lando.yml
.lando/php/Dockerfile
.lando/php.ini
.lando/xdebug.sh