Closed aimfeld closed 2 years ago
I managed to fix the problem by overriding the image to use the latest stable one, as suggested here: https://github.com/lando/platformsh/issues/163#issuecomment-1122262912 Probably makes sense to use the latest stable image by default.
I also get this error. So it wasn't fixed. I'll try the mentioned workaround, thanks to @aimfeld
I was getting the same error when I was trying to upgrade from php 7.4 to 8.1. I used the suggested hack to fix the issue. Thanks
services:
app-service:
overrides:
image: docker.registry.platform.sh/php-8.1:stable
After changing the php version from 8.0 to 8.1 in .platform.app.yaml, I get the following error after lando destroy and lando rebuild: Exception: Extension '{'configuration': {}, 'name': u'redis'}' is unknown
We had this exact same problem when upgrading from PHP 7.4 to 8.0: https://github.com/lando/platformsh/issues/31 After some back and forth, @pirog and @trolologuy were able to replicate and fix the problem for PHP 8.0. Could you have a look and try to make redis work for 8.1 as well?
Platform.sh supports the redis and igbinary module for PHP 8.1, see https://docs.platform.sh/languages/php/extensions.html