Sunday 20 June 2010 12:47:21 pm
The fact that when running system('which convert'); from a php script you got no answer is due to the fact that in the environment used by the Apache server the PATH does not contain /usr/local/bin, as does the environment you have when connecting via ssh. That's the reason why you can set the path to 'convert' in image.ini ;-) If you can access your web pages, the best way to see if imagemagick is working is to upload an image to any content object in the admin interface, then see if it shows up in the front. Of course, looking at the eZ Publish logs helps (in var/log within the eZP dir). If the "executablepath" setting is ok, you might have some problems due to unix filesystem permissions: eZP can find the 'convert' executable, but not run it. Run "ps -ef" to see which unix user runs the apache process and "ls -la /usr/local/binconvert" to see the permissions on the convert binary. The Imagic package you do not need - it's the php extension for imagemagick, which is not used by eZP.
Principal Consultant International Business
Member of the Community Project Board
|