Go to WHM -> Software -> Module Installers -> PHP Pecl (manage). On the box below “Install a PHP Pecl” enter “imagick” and click “Install Now” button – that’s all. Restart Apache.
If you decide to uninstall it’s as easy as the installation process:
Imagick: WHM -> Software -> Module Installers -> PHP Pecl (manage). Click on Uninstall button for Imagick
If you get the following error;
checking ImageMagick MagickWand API configuration program… configure: error: not found. Please provide a path to MagickWand-config or Wand-config program.
ERROR: `/tmp/pear/temp/imagick/configure –with-imagick’ failed
You need to install the ImageMagick devel package.
$ yum update
$ yum install ImageMagick-devel
The following command may be required if you get an error.
$ yum -y install ImageMagick-devel ImageMagick-c++-devel
If you try to install via yum, you may get the error below. If you get such error, you need to download RPM.
$url = "http://www.google.com/path/filename.jpg";
preg_match("/^.*[\/]([^\.]+)\..+/", $url, $out);
print_r($out); //Array (  => http://www.google.com/path/filename.jpg  => filename )
If you need to find the text after las occurrence, you can use regex easily.
Sometimes you can see lots of files into /tmp folder. You can remove the files with the linux remove command but it cannot be comfortable. You cannot monitor it always.
Cloudinary.com is an end-to-end image management solution for your Web and mobile applications.
If you have Multidimensional array, you can get any value by key from all arrays. There is no need to write traditional loop. You can do it with single line code.
You can start, stop and restart Imap service with single line command on linux terminal.
If you used loop for mysql result, you cannot use a loop again unless you set the pointer again.