Valet-plus: Add Imagemagick to valet-php

Created on 13 Nov 2019  路  6Comments  路  Source: weprovide/valet-plus

  • [x] I've checked the issue queue and could not find anything similar to my feature.
  • [x] I'm on the latest version of valet-plus (valet --version): Valet+ 1.0.29

Why implement this feature?
Imagemagick isn't a part of valet-php, but is used by various parts of Magento - eg catalog:image:resize

2.x Feature request MINOR

Most helpful comment

  • brew install imagemagick
  • pecl install imagick

Worked for me.

All 6 comments

@Leland I was under the impression that extension was deprecated. Or am I wrong?

@Neodork
When I try to install imagemagick via pecl on [email protected] I get this

No releases available for package "pecl.php.net/imagemagick" install failed

Do you have any insight?

Ran into the same issue of a project depending on imagick with Magento 2.3.3, tried to install imagick using installation suggestions from https://ma.ttias.be/install-phps-imagick-extension-on-mac-with-brew/ but failed doing so (in fact it totally screwed up my installation).
Note: be aware of a typo. Not sure if Imagemagick and imagick are different.

  • brew install imagemagick
  • pecl install imagick

Worked for me.

@royduin Do you know which version of PHP your valet sites are using? Is it valet-php?

$ which php
/usr/local/opt/[email protected]/bin/php
$ which pecl
/usr/local/opt/[email protected]/bin/pecl
Was this page helpful?
0 / 5 - 0 ratings