Although there are several topics around with this issue, none of the proposed solutions appear to be working for me.
This is the scenario:
- Omeka classic 2.7;
- web site, linux hosting, with ImageMagick installed and properly working (more about this later);
In the Settings->General panel, ImageMagick directory path (IMdp):
- entering a path different from /usr/bin/ produces an error (‘The ImageMagick directory path does not work.’);
- entering /usr/bin/ produces no output (exception raised);
Whatever the path, images are not processed.
Tried and run the following script on my web site:
<?php $ret = exec('convert -version'); echo $ret; ?>
The following result is produced:
“Delegates (built-in): bzlib fontconfig freetype jng jpeg png tiff webp x xml zlib”
It looks like the “executeCommand” function in the ExternalImageMagick.php module fails with an exception.
What can I do to make Omeka aware that ImageMagick actually works fine?
Thanks for your time!
ETA: After delving into Omeka source code, I see the convert command is executed using proc_open() (see ExternalImageMagick.php). Unfortunately, running proc_open() on my web site fails with the following message:
**Warning** : proc_open() has been disabled for security reasons
Is there any alternate way to run the convert command other than using proc_open()?