Not sure if this question fits SO. Please move it if it does not.
The installation requirements for Imagemagick says -
PHP >= 5.1.3 and ImageMagick >= 6.2.4 is required.
Our server version is 5.3.29, so it should be supported.
But, when I run pecl install imagick, it says PHP version does not supports it -
WARNING: chael "pecl.php.net" has updated its protocols, use "pecl chael-update pecl.php.net" to update
pecl/imagick requires PHP (version >= 5.4.0), installed version is 5.3.29
No valid packages found
install failed
I also ran yum install ImageMagick-devel, as given in http://stackoverflow.com/a/31715938/351903, and here is the output -
Loaded plugins: fastestmirror, priorities, update-motd, upgrade-helper
Determining fastest mirrors
epel/x86_64/metalink | 13 kB 00:00
* amzn-main: packages.us-east-1.amazonaws.com
* amzn-updates: packages.us-east-1.amazonaws.com
* epel: mirror.symnds.com
* rpmforge: mirror.lug.udel.edu
amzn-main/latest | 2.1 kB 00:00
amzn-updates/latest | 2.3 kB 00:00
rpmforge | 1.9 kB 00:00
3441 packages excluded due to repository priority protections
Package ImageMagick-devel-6.7.8.9-10.18.amzn1.x86_64 already installed and latest version
Nothing to do
I am confused, due this contradiction How do I ensure whether PHP ImageMagick can be supported on PHP version 5.3.29.
By the way, imagick is already installed, and it is working via command line -
convert -resize 50x50! https://www.google.co.in/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png /var/cake_1.2.0.6311-beta/app/webroot/openx/www/delivery/test_sandeepan/output.jpg
