IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
I've been running IM through PHP using the exec() command as I am on shared hosting.
Now, I'm currently trying to get '-debug all' to work, but no matter what I do, I don't get anything back. Nothing. I am trying to use this in conjuction with an image cropper and this is why I need to see the debug logs so I can at least see where it's failing.
Is there something that can prevent -debug outputting it's logs? This is the exec I am using (note the cropping parameter is left out):
This is going to sound incredibly n00bish, but stderr, would that be my general error_log.txt file, that generates whenever there is a php error. Like "Undefined Variable" etc, or is stderr different? If so, how can I read the stderr channel?
Also, thank you graciously for your fast reply!
EDIT: I think I have it: at the end of my exec() call, I added this: '2>&1' and I'm getting this outputted now: