Features | Requirements | Admin Demo | Support Affiliate Program | Forums | Sites in Action | Buy PhotoPost 
Installing ImageMagick Without Root Access

Very few people know about this installation procedure. Most assume that ImageMagick requires root access, and many hosts are unwilling to install it, which would ordinarily exclude any user with a virtual server from using PhotoPost. But you can install ImageMagick even without root access on your virtual server! Here's the procedure:

Download ImageMagick:


(If you want to download the files directly to your server instead of downloading and ftping, use these commands instead):

$ wget http://www.photopost.com/ImageMagick-

Create a directory for imagemagick. It doesn't need to be in your cgi-bin, it can be anywhere in your web root / web accessible directory tree. I called ours /home/techimo/public_html/imagemagick for the examples below (be sure to change the paths below to point to your imagemagick directory, not ours). Note: I would recommend installing ImageMagick without .TIF or .PNG support unless you absolutely need it, since the non-root install procedure is easier without it.

Copy the ImageMagick- file to your imagemagick directory, and unpack it:

$ tar -xvf ImageMagick-

1. ImageMagick needs the jpeg library to install properly. You can check for the header files in /usr/include and /usr/local/include to see if the library is installed. If you don't find it then it will need to be installed.


2. Download the following files and FTP them (via binary mode) to your imagemagick directory:


(If you want to download the file directly to your server instead of downloading and ftping, use these commands instead):

$ wget http://www.photopost.com/jpegsrc.v6b.tar.gz

Once the file is in your imagemagick directory, uncompress it:

$ gunzip *.gz

Then unpack everything:

$ tar -xvf jpegsrc.v6b.tar
Create some directories within your imagemagick directory to hold library files:

$ mkdir bin
$ mkdir lib
$ mkdir man
$ mkdir man/man1
$ mkdir include

Now install the jpeg library:

$ cd jpeg-6b
$ ./configure --enable-shared --prefix=/home/techimo/public_html/imagemagick
$ make
$ make install
$ cd ..

$ cd ImageMagick-5.3.8
$ ./configure CFLAGS=-O2 --prefix=/home/techimo/public_html/imagemagick --without-perl --disable-static --enable-shared --with-modules --without-magick_plus_plus --without-bzlib --without-dps --without-fpx --without-hdf --without-lcms --without-jbig --without-png --without-tiff

$ make
$ make install

That's it! Be sure to set up config-inc.php to point to the location of "mogrify", which should be in the "bin" directory of your local ImageMagick install. If you have difficulty, you may wish to purchase our Advanced Installation Service.