Thursday, April 15, 2010

easy way to installl imagic php module

Install modules from PECL(a repository for PHP Extensions, providing a directory of all known extensions and hosting facilities for downloading and development of PHP extensions.)

install pecl first:

wget http://pear.php.net/go-pear
php go-pear
yum install ImageMagick
yum install ImageMagick-devel
pecl install imagick

echo "extension=imagick.so" >> /etc/php.ini

No comments:

Post a Comment

Followers

About Me

My photo

My Name is Yogesh Malik, I am working in Times Group.