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
|