Skip to content

Instantly share code, notes, and snippets.

@dstorozhuk
Created June 22, 2017 05:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dstorozhuk/b2d143cf5694de8e6f07cf28cf60e272 to your computer and use it in GitHub Desktop.
Save dstorozhuk/b2d143cf5694de8e6f07cf28cf60e272 to your computer and use it in GitHub Desktop.
Install image magic
Installing PHP PECL IMagick on Ubuntu:
--------------------------------------
1. $ sudo aptitude install php-pear imagemagick php5-dev libmagick9-dev
2. $ sudo apt-get install libmagickwand-dev
3. $ sudo pecl install Imagick
4. $ sudo nano /etc/php5/apache2/php.ini
4. enter extension=imagick.so -> save (ctrl+x / Y)
6. $ sudo apache2ctl configtest
7. $ sudo apache2ctl stop
8. $ sudo apache2ctl start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment