Jump to content

Recommended Posts

Posted

Not sure if anyone out there has successfully solved this yet (nor if this is the correct place to post this), but I am kind of stuck on this. I normally use MAMP pro 3 for setting up my dev work flow, and wanted to play around with ImageMagick. I knew I had to enable the extension in MAMP, which I simply just removed the ";" in front of extension=imagick.so in the php.ini and restarted the servers. However when I tried to install the module, i get the following error:

  •  Unable to install module (ImageSizerEngineIMagick): This module requires that you have PHP's IMagick (Image Magick) extension installed

 

From what I have read, the extension should be installed and activated after I followed the simple steps, but processwire doesn't seem to recognize that it is activated. Has someone encountered this issue yet?

 

I am using php v7 with an install of processwire 2.8.35.

Posted

What does phpinfo() output in that regard (ini file location and whether ImageMagick is enabled)? Is the file you edited the correct one (and, if you're using MAMP Pro, could it be that it was overwritten by its template mechanism)?

  • Like 1
Posted

Thanks @BitPoet for the help, I checked phpinfo(), and found which php.ini was being used and noted that extension=imagick.so was not commented out. I also checked the template, which also had it set to "on". I am pretty baffled with this right now.

Posted (edited)
2 hours ago, louisstephens said:

I normally use MAMP pro 3

I have already upgraded to MAMP Pro 4 so I cannot be of much help here, but you might want to know that it is easy to "turn on" ImageMagick with MAMP Pro 4:

ImageMagick-MAMP4.thumb.png.ecdcc8e4e9555b8795f3156d5dff70ce.png

EDIT: I forgot to mention that it is MAMP Pro 4 I use...

Edited by szabesz
  • Like 1
Posted

In going through the errors in the console (Attached to MAMP Pro 3), it appears that there is no file for imagick.so, so I assume Ill need to find this .so file somewhere

 

Posted
9 minutes ago, louisstephens said:

there is no file for imagick.so

Maybe ImageMagick is not part of the default install of MAMP 3, so you need to add it to MAMP, I guess...

Posted
4 minutes ago, szabesz said:

Maybe ImageMagick is not part of the default install of MAMP 3, so you need to add it to MAMP, I guess...

Yeah, this is really weird, it is installed in php 5.6.10, but not for php 7 . Perhaps there is a reason (that I am not aware of yet) that php 7 doesnt have the extension in MAMP.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...