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

Add Imagick to PHP 8.3 #114

Open
AaronFeledy opened this issue May 30, 2024 · 3 comments
Open

Add Imagick to PHP 8.3 #114

AaronFeledy opened this issue May 30, 2024 · 3 comments

Comments

@AaronFeledy
Copy link
Member

AaronFeledy commented May 30, 2024

Due to an incompatibility issue with Imagick and PHP 8.3, the Imagick extensions is deliberately not included in the 8.3 image. The upstream issue can be tracked at Imagick/imagick#640.

Once the bug in imagick is fixed, we should get it added in.

Note that the matrix in extensions.md and the note below the matrix should be updated to reflect this change when it does occur.

@AaronFeledy
Copy link
Member Author

AaronFeledy commented May 30, 2024

Note that the fix has been merged into the develop branch of Imagick but a new release has yet to be rolled out. If you need Imagick in PHP 8.3, you can try installing from the develop source via build steps in your landofile. I haven't tested this, but it should look something like this:

services:
   appserver:
     build_as_root:
       - mkdir -p /usr/src/php/ext/imagick
       - curl -fsSL https://github.com/Imagick/imagick/archive/28f27044e435a2b203e32675e942eb8de620ee58.tar.gz | tar xvz -C "/usr/src/php/ext/imagick" --strip 1
       - docker-php-ext-install imagick

After adding this, Imagick should get installed from the unreleased source when you run a lando rebuild.

@pirog
Copy link
Member

pirog commented Oct 17, 2024

@AaronFeledy it does look like this is including in our 8.3 image now? im going to add a test to confirm that and then probably close this out. If you have a PROBLEM with that then speak nowish 😄

@pirog pirog linked a pull request Oct 17, 2024 that will close this issue
9 tasks
@pirog
Copy link
Member

pirog commented Oct 17, 2024

spoke too soon, looks like it isnt installed and also isnt supported in 8.3 yet. weird?

@pirog pirog removed a link to a pull request Oct 17, 2024
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants