note 118010 deleted from imagick.installation by cmb
| From: | cmb@php.net | Date: | Tue, 15 Dec 2015 15:45:25 +0000 |
| Subject: | note 118010 deleted from imagick.installation by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-204367@lists.php.net to get a copy of this message | ||
Note Submitter: support at vipp dot com dot au
----
I tried installing imagick extension on WHM/Cpanel but it didn't work. the error message was
could not extract the package.xml file
This seems to be a bug in PHP 5.5 as reported by users.
I finally installed this extension from command line. Here are the steps I used just in case someone
is experiencing similar problem and is looking for a solution.
1. install ImageMagick from rpm repository in WHM. the version I installed is ImageMagick 6.7.2-7
2. log in the server via ssh,
3. download the latest version of imagick, unpack and install. the version I downloaded is
imagick-3.3.0RC2.tgz
wget http://pecl.php.net/get/imagick-3.3.0RC2.tgz
tar xvf imagick-3.3.0RC2.tgz
cd imagick-3.3.0RC2
phpize
./configure
make
make install
the extension was successfully installed
4. in WHM, go to PHP configuration editor, in advanced mode, search extension, and add imagick.so in
the list of extension enabled. this can of course be added using a command line editor.
extension=imagick.so
5. restart apache. imagick is there now.
My server runs
PHP Version 5.5
cPanel Version 11.50.0 (build 30)
I hope it works for someone else too.