Copy and Paste the folowing lines to the terminal
sudo apt-get install php-pear
Then run:
sudo apt-get install imagemagick
Then run: sudo apt-get install php5-dev
then:
sudo pecl install imagick
**if you get an error which looks like this:
configure: error: Cannot locate configuration program Wand-config
then no problem, simply run the following command:
sudo apt-get install libmagick9-dev
Now re-run
sudo pecl install imagick
There would be something asking like "......[autodetect]" , just simply press enter once.
|