Reputation: 2154
So I followed all the instructions on this page:
http://thoomtech.com/post/8832473042/mamp-imagemagick-lion
Imagick is installed, and I can verify that imagick.so is in the appropriate folder within MAMP.
However, nothing related to Image Magick or Imagick shows up in phpinfo... and when I call new Imagick()
I get an error: Class 'Imagick' not found
What I could I be missing? I'm running MAMP on Lion.
Upvotes: 2
Views: 3209
Reputation: 24419
You'll need to load the imagick.so
extension in the php.ini
file used by your local MAMP server.
extension=imagick.so
; or
extension=/absolute/path/to/your/imagick.so
Verfiy the module was loaded successfully by running the following line in your terminal
php -m | grep imagick
# Should return 'imagick' on success
Upvotes: 7