Forums / Install & configuration / Image problem with ezpubish 3.9 on mac [solved]

Image problem with ezpubish 3.9 on mac [solved]

Author Message

Gerhard Sletten

Monday 15 January 2007 5:33:07 am

Been messing around trying to install the latest version of ezpublish on my mac at the office. Took me some time to figure it out, so I thought I might share it with others. Most of the problem originated from the fact that my convert shell commmand didn't work, so if you experience that you new 3.9 installation with ezwebin don't show images, please check this. Simply write "convert" into terminal.app.

<b>LAMP requirements:</b>
- Installed latest MYSQL package from http://dev.mysql.com/downloads/mysql/5.0.html
- Downloadet PHP 4.4 source from php.net and followed this recipe http://www.kyngchaos.com/macosx/install/php (more and less, I didn't care of the spesial libs)
- Had to change the etc/php.ini: "mysql.default_socket = /tmp/mysql.sock"

<b>ImageMagick convert command</b>
Think the easiest way to install this is with Fink. Download it from their homepage at http://fink.sourceforge.net/download/
The Fink download include Finkcommander, which you drop into you Application folder. Finkcommander is an GUI interface for Fink, where you can seach for ImageMagick and choose to install it from either source or binary. I went for the binary.

If you open Terminal.app now, convert should work. Run "which convert" and it will inform you where convert is located. Put this information into "settings/override/image.ini.append.php:

<?php /* #?ini charset="iso-8859-1"?

[ImageMagick]
IsEnabled=true
ExecutablePath=/usr/bin/
Executable=convert
*/ ?>

Clear the cache, and it should work!

Gerhard Sletten
www.gersh.no - Software
www.gerhardsletten.no - Blog

Jérôme Vieilledent

Friday 16 November 2007 10:44:22 am

I had a problem with ImageMagick installed with MacPorts and thanks to your post I found out that EZP needs ImageMagick to be installed in /usr/bin.
So for IM to work with EZP, if you install it with MacPorts :

Open the terminal and type :

sudo port install ImageMagick

Then make find where MacPorts installed IM and link the <i>convert</i> bin to /usr/bin :

which convert
--> /opt/local/bin/convert (do not type this line !)
sudo ln -s /opt/local/bin/convert /usr/bin

You'll probably be prompted for your admin password

If you have installed IM with true MacOSX binary (distributed on the IM website), you also should do the link.