For everyone who has problems with this, I did this tutorial:
How to install Imagemagick and php Imagick module on ubuntu?
I took this 7 simple steps:
Update libraries and packages
apt-get update
Remove obsolete items
apt-get autoremove
For ImageMagick Libraries
apt-get install libmagickwand-dev
for the main class Imagick
apt-get install imagemagick
To create binary files and the relationships between them
pecl install imagick
Add the extension to your php.ini
echo "extension=imagick.so" >> /etc/php5/apache2/php.ini
Restart apache
service apache2 restart
I found a problem. PHP searches for .so files in a folder named / usr / lib / php 5/20100525, and imagick.so is stored in a folder named / usr / lib / php 5/20090626. Therefore, you need to copy the file to this folder.
Rodrigo Carmona Feb 28 '13 at 19:57 2013-02-28 19:57
source share