Path

ez.no / exponential / documentation / obsolete / installation / manual / installing imagemagick with...


Installing ImageMagick without root access

Installation

It's still possible to use ImageMagick on your site if the hosting server does not have ImageMagick installed and you don't have root access. The solution is to install ImageMagick in your web folder.
The first thing you need to do is to download a binary archive. Once downloaded you must upload it to the server and log in on the server. Place yourself in the Exponential root and unpack it, for instance:

tar xvfz ImageMagick-i686-pc-linux-gnu.tar.gz

You should now have a folder called ImageMagick-xxx where xxx is the version you downloaded. You should then rename the directory to just ImageMagick, for instance by using:

mv ImageMagick-5.5.6 ImageMagick

Configuration

Once that is done you must change the settings/image.ini file, for instance create the file settings/override/image.ini.append, edit it and add the following entries.

image.ini

The first thing we need to do is to enable the use of ImageMagick, the part of ImageMagick which handles image scaling is called convert.

[ConverterSettings]

UseConvert=true

Then we must provide a path to the convert program, here we use a relative path.

[ShellSettings]

ConvertPath=ImageMagick/bin

ConvertExecutable=convert

The last thing is to make sure convert is used for conversion.

[Rules]

DefaultRule=image/jpeg;convert

Rules[]=image/jpeg;image/jpeg;convert

Rules[]=image/png;image/png;convert

Rules[]=image/gif;image/png;convert

Rules[]=image/xpm;image/png;convert

Exponential will now use the personal ImageMagick installation for image conversions and scaling.

External How-To

A generic how-to can be found at http://www.photopost.com/magicknoroot-php.html.

A Posting in the Forum:

http://ez.no/developer/exponential_3/forum/install_configuration/tips_for_installing_imagemagick_on_a_server_where_you_dont_have_root

Comments

Log in or create a user account to comment.

Contents

Obsolete

Installation
    Extensions
    Installers
    Manual
       Getting the latest Exponential source
       Installing ImageMagick without root a...
       Compiling PHP
       Webserver build on Linux
       Linux/Unix
       Windows
    Uninstall
    Wizard
Upgrade


Created

12/04/2003
6:43:08 pm
by Jan Borsodi

Last updated

04/07/2003
5:07:40 pm
by B�rd Farstad

Authors

Jan Borsodi
Ekkehard D�rre
B�rd Farstad



This page is part of the Exponential documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.