Bug Summary
The currently bundled PHP libraries have dropped the imagick module
Steps to reproduce
Either:
- in WordPress check the WP core Tools->SiteHealth & note the complaint from WP about the missing module (https://i.imgur.com/J7OJMRQ.png)
or - attempt to run a theme or plugin that performs image manipulation and note the error
or - select “PHP version” in Local as 8.0.22 or 8.1.9, click apply, then click details. Note that “imagick” is not found in the generated phpinfo page
Environment Info
- Debian 11
- nginx, PHP 8.0.22/8.1.9, MySQL 8.0.16
- Local 6.7.0+6347
Supporting info
Following on from a support comment on another recent thread:
Agreed, our goal is that all of those PHP versions should be compiled with the same default set of extensions. We’ll make sure PDO support is added on all versions going forward!
And (I know I’m repeating myself but…) make sure that list of extensions includes imagick given that WP core now checks for that & complains if it’s not there and plenty of plugins and themes require that functionality.
It’s currently not included in the bundled builds of PHP 8.0.22 or 8.1.9
I know that this has been brought up several times but it feels like it’s getting brushed aside a little. It would be great if we could get an acknowledgement of this & know if there are plans around correcting it because at the moment we’re migrating sites out of Local into other solutions in order to support clients that use this and need to be on PHP 8 - a “yes we know and it’ll be in the builds for the next point release” or “it might make it into the next major release” or “we’ll add it to the todo list for future consideration” and a timeline would help us know how much effort we should be putting into this migration.
Don’t get me wrong - I am VERY grateful for how much Local has streamlined our WP development (in fact setting up alternative development environments is reminding me just how much it’s helped!) but a little feedback on the status here would go a long way. Our live sites on WP Engine all have it included - if you’re wanting to mimic the live site experience then it’s an odd thing to remove (and yes we have considered using a WP Engine environment directly for development… but it’s hardly ideal lol)
Thanks!
Jon