Skip to content

Instantly share code, notes, and snippets.

@manuelbieh
Created October 20, 2011 10:51
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manuelbieh/1300883 to your computer and use it in GitHub Desktop.
Save manuelbieh/1300883 to your computer and use it in GitHub Desktop.
Install PHP PECL Imagick on Ubuntu 10.04
Because I'm always struggling, a note for myself (and for others) how it works.
Installing PHP PECL IMagick on Ubuntu:
--------------------------------------
1. $ sudo aptitude install php-pear imagemagick php5-dev libmagick9-dev
2. $ sudo pecl install Imagick
3. $ sudo nano /etc/php5/apache2/php.ini
4. enter extension=imagick.so -> save (ctrl+x / Y)
5. $ sudo apache2ctl configtest
6. $ sudo apache2ctl stop
7. $ sudo apache2ctl start
@manuelbieh
Copy link
Author

2.1. $ sudo apt-get install libmagickwand-dev

@erusev
Copy link

erusev commented Jun 21, 2013

Thanks! This helped a lot.

@itahmid
Copy link

itahmid commented Dec 27, 2013

thanks for the commands, let me see how it works out with my scripts...

@HyperGaming18
Copy link

and 4 years and a few months later... still no reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment