» Class 'Imagick' not found
I tried to do some Image Magick with PHP recently on an Ubuntu Feisty machine, and even though I had the required package: 'php5-imagick' installed, and I updated my php.ini with imagick.so, I kept getting the error Class 'Imagick' not found. This is how I eventually fixed it.
The idea is to fall back to the good old PECL installation:
sudo aptitude install make php5-dev php-pear
sudo aptitude remove php5-imagick
sudo aptitude install libmagick9-dev
sudo pecl install imagick
sudo /etc/init.d/apache2 restart
And don't forget to put your imagick.so in your php.ini!
Well, that did it for me. No need for a long article this time, but this may help others experiencing similar problems.
Stay up to date
You can track my blog
articles and
comments. You may also find my
bookmarks interesting. Or
Follow me on Twitter
Like this article?
|
Then Dzone it! Or use another bookmark button below to show your support & help me spread the word. |
RelatedArticles like this one» PHP: tiff2pdf |
tags: php, imagick, imagemagick, PECL
category: Programming - PHP
read: 14,133 times







tagcloud
#20. Davide on 13 November 2009
#19. nabab on 26 May 2009
#18. nono on 08 April 2009
#17. nono on 08 April 2009
#16. Christophe Hubert on 23 March 2009
#15. megar on 06 February 2009
#14. srini on 22 November 2008
http://thinktibits.blogspot.com/2008/09/installing-imagemagick-on-windows-setup.html
#13. insanet on 12 September 2008
#12. Steve Spiller on 29 July 2008
#11. andi on 09 July 2008
#10. Michael on 12 June 2008
#9. Bhavin on 10 June 2008
Lets hope this can solve my problem!
Thank you.
#8. Benjamin on 03 June 2008
#7. Kevin on 20 May 2008
#6. jf on 20 May 2008
#5. yassine on 09 May 2008
it help me a lot.
#4. Kevin on 08 May 2008
#3. tony on 07 May 2008
#2. A.W. on 02 May 2008
Thanks!
#1. Radek Hulán on 29 April 2008