note 118010 added to imagick.installation
| From: | support at vipp dot com dot au | Date: | Fri, 18 Sep 2015 06:22:52 +0000 |
| Subject: | note 118010 added to imagick.installation | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-203805@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 72.52.91.14
Probable Submitter: 14.200.22.3
----
Manual Page -- http://php.net/manual/en/imagick.installation.php
Edit -- https://master.php.net/note/edit/118010
Del: integrated -- https://master.php.net/note/delete/118010/integrated
Del: useless -- https://master.php.net/note/delete/118010/useless
Del: bad code -- https://master.php.net/note/delete/118010/bad+code
Del: spam -- https://master.php.net/note/delete/118010/spam
Del: non-english -- https://master.php.net/note/delete/118010/non-english
Del: in docs -- https://master.php.net/note/delete/118010/in+docs
Del: other reasons-- https://master.php.net/note/delete/118010
Reject -- https://master.php.net/note/reject/118010
Search -- https://master.php.net/manage/user-notes.php