UnderHost Networks Ltd


If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.



Reply
  #1 (permalink)  
Old 08-23-2009, 10:55 PM
UnderHost's Avatar
UnderHost Management
 
Join Date: Jul 2008
Posts: 588
Default Installing ImageMagick 6.3.8 on a cPanel Server

This tutorial will give you a little step by step manual of how to upgrade and properly install ImageMagick on you cPanel server without having to manually compile Apache

Firstly we need to talke notice that the new easyApache version 3 does not incude ImageMagick as an additional install option in PHP, so here are the steps we performed to get that magic wand happening again.

1/ downolad ImageMagic 6.5.5. onto your server by using

Code:
wget http://ftp.nluug.nl/ImageMagick/ImageMagick-6.5.5-0.zip

unzip ImageMagick-6.5.5-0.zip
go into the directory

Code:
cd ImageMagick-6.5.5-0
the default should be fine , but you can always check other options here Install-unix.txt

anyways, default install is simple

Code:
./configure

make install
Both of the commands can take a little while , but either way this should have installed ImageMagick 6.3.8 now. And now to finish the process

Code:
cd PerlMagick/
perl Makefile.PL
make
make install
BUT HOLD ON, this is not it yet!

We need to get it locked into PHP !

The new WHM has a fantastic utility to complete the task.

Log into WHM >> Software >> Module Installers >> PHP Pecl and install imagick to get the whole thing binding into PHP and making your applications gell !


That should be it, if by any chance you hot a problem with a 64 bit OS and WHM can not find imagick then install it manually, by following the steps below



Firstly install ImageMagick-devel

Code:
yum -y install ImageMagick-devel
Assuming ImageMagick-devel is installed, you need to download the Imagick PHP extensions, located here: PECL :: Package :: imagick

Latest version, as of this post, is imagick-2.2.0

Code:
wget http://pecl.php.net/get/imagick-2.2.0.tgz
Place this package in your home directory. Then, in a shell console, type
Code:
tar -zxvf imagick-2.2.0 .tgz
while in the home directory (don't type the quotes)

Then type the following commands:

Code:
cd imagick-2.2.0
phpize
./configure

make
make install
Now go back into WHM and try to activate imagick again
__________________

UnderHostProviding Affordable and Quality Web Hosting & Offshore Hosting
24/7 Fast Support / 99.9% Uptime Guarantee
UHVPSVirtual Private Servers & Premium Offshore VPS
Hong Kong - Singapore - USA - Canada - Netherlands - United Kingdom - Germany
Reply With Quote
underhost.us
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Loading...


All times are GMT -4. The time now is 04:27 PM.
Copyright © 2009 UnderHost Networks Ltd