R-Ts NetWorks

Server the Best

How to install imagick on linux


How to install imagick on linux server

Login to server as root

cd /root/download

wget http://serverip/imagick-3.0.1.tgz

tar -xzvf imagick-3.0.1.tgz

cd imagick-3.0.1

phpize

./configure

If you are getting error message then run /scripts/installimagemagick

make

make intall

add the below line in php.ini (path of php.ini on server/usr/local/lib/php.ini)

search mysql.so enter the below line under that

extension=imagick.so

Restart Apache

In php -m imagick should be listed

 

Manual Installation:

Download ‘Imagick’ from ‘pecl.php.net’.

wget http://pecl.php.net/get/imagick-3.0.1.tgz

Extract.

tar -zxf imagick-3.0.1.tgz

Configure and Install.

cd imagick-3.0.1

phpize && ./configure

make

make install

 

Advertisements

May 7, 2012 - Posted by | CPanel / WHM, PHP | , ,

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: