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

PHP 8.0 Imagick not supported / causes error #138

Open
simonkey opened this issue Dec 30, 2021 · 7 comments
Open

PHP 8.0 Imagick not supported / causes error #138

simonkey opened this issue Dec 30, 2021 · 7 comments

Comments

@simonkey
Copy link

The extension imagick cannot be enabled for the platform.sh recipe when using php 8.0. There was an issue/bug in the platform.sh image which has been resolved.

Setup direct in .platform.app.yaml or via override.

type: php:8.0

runtime:
  extensions:
     - imagick
     - ...

Causes the following error:

Exception: Extension '{'configuration': {}, 'name': u'imagick'}' is unknown. 

The deployment to platform.sh works without issues, the error only occurs locally. If I override the extensions and remove imagick, then it's possible to start the lando project. Maybe there is the latest image for php 8.0 missing / wrong tagged.

@rtfm-47 rtfm-47 transferred this issue from lando/lando Dec 30, 2021
@valentin-
Copy link

Any progress on this issue?

@sgelliott
Copy link

sgelliott commented Feb 26, 2022

@simonkey I think this issue is probably related to this one: #135

I also confirmed this seems to be an issue related to type: "php:8.0" in .platform.app.yml and type: "php:7.4" works fine. And this impacts redis as well as imagick, but not xdebug (haven't tested others), So that should help narrow down the fix.

@simonkey
Copy link
Author

@sgelliott Yes, it only happens with type: "php:8.0". But redis is working without problemes. My machine is running Ubuntu 20.04 with an Intel Processor. So the redis issue could be only Apple Silicon related.

@sgelliott
Copy link

sgelliott commented Feb 27, 2022

@simonkey I get the redis issue with php:8.1, not with php:8.0, and then get the imagick issue with any 8.x, (all on Intel Mac) but that's being tracked in the other issue. So seems like issues with extensions are centering around different php versions & different configurations.

@simonkey
Copy link
Author

@sgelliott I've tried different php extensions and as you stated imagick doesn't work in 8.x versions. And I can confirm that redis isn't working for php:8.1. There is another extension which isn't working in php:8.1 and that is igbinary.

@simonkey
Copy link
Author

simonkey commented May 4, 2022

Any updates on this issue?

@gilzow
Copy link

gilzow commented Aug 17, 2022

Just ran into this same issue with the imagik extension and type: "php:8.1"
Any updates?

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