Realpath(): SAFE MODE Restriction in effect

Hello, I am adding a path for ImageMagick to Omeka. I got this path from the provider (it is “/usr/bin/” ).

I get the following error message using this path. My provider will not change the settings of the Safe Mode.
The error message that I get is as follows:

Warning: realpath(): SAFE MODE Restriction in effect. The script whose uid is 186029 is not allowed to access /usr/bin owned by uid 0 in /var/www/domains/adminsys.nl/www/omeka/application/libraries/Omeka/File/Derivative/Strategy/ExternalImageMagick.php on line 148

Is there anything that I can do to get this to work?
Many thanks in advance.

Gerico de Vries

Your best bet is probably to switch to the GD derivative strategy by adding the following line in application/config/config.ini:

fileDerivatives.strategy = "Omeka_File_Derivative_Strategy_GD"

This just skips the usage of ImageMagick entirely. The imagick extension is another possible solution (it uses ImageMagick but not through the command line), but a host that has unchangable safe mode settings probably doesn’t have imagick installed.