This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Setup & design » Not able to override the path of...

Not able to override the path of imagemagick

Not able to override the path of imagemagick

Tuesday 25 March 2014 11:28:55 am - 1 reply



I have a problem with imagemagick configuration. In fact when I setup the path in ezpublish.yml everything works. But if I want to override it in my ezpublish_dev it doesn't work showing the error message "InvalidArgumentException: Please provide full path to ImageMagick / GraphicsMagick "convert" binary. Please also check that it is executable."

In ezpublish.yml I need my prod environment by default  => path: '/opt/imagemagick/bin/convert'

In ezpublish_dev.yml I need my dev environment => path: 'C:\Program Files\ImageMagick\convert.exe'

ezpublish_dev.yml works because I have my local database setup in it.


Any idea why I'm not able to override the imagemagic path in my ezpublish_dev.yml?

Thursday 03 July 2014 11:59:56 pm

Hi Erwan,

I have yet to try installing ezpublish on a windows-pc.

Though i heard a lot about spaces in file-paths in the last days causing problems on windows (especially cause by "Program Files"blunk.gif Emoticon.
You may want to try some of the following examples for values of path.

  • '"C:\Program Files\ImageMagick\convert.exe"'
  • 'C:\"Program Files"\ImageMagick\convert.exe'

The last one has the most possibility to work.

The error about seems like this would be the problem, since ez is using "proc_open" and can't find a binary at "C:\Program".

Tell me if it works this way.

If not you can check the execution of the convert-process at the following file.


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from