JamesHeinrich / phpThumb

phpThumb() - The PHP thumbnail generator
Other
315 stars 141 forks source link

phpThumb in MAMP Environment #174

Closed brandonflatsoda closed 3 years ago

brandonflatsoda commented 3 years ago

Is it possible to get phpThumb to recognize ImageMagick in a mamp environment. I enabled the extension and can see it being available in phpinfo(). But for the demo check the ImageMagick Version always shows [0] [0] [0] [0] [0] n/a.

JamesHeinrich commented 3 years ago

phpThumb predates the availability of the ImageMagick extension, it relies on calling the command-line executable as specified in $PHPTHUMB_CONFIG['imagemagick_path']

brandonflatsoda commented 3 years ago

Yep! After multiple hours I I think that I'm almost there, and I've found the path for the executable, but placing "/usr/local/Cellar/imagemagick/7.0.10-53_1/bin/magick" in the 'imagemagick_path' still leaves it as unrecognized.