S
S
sergiofollan2018-04-05 00:39:44
PHP
sergiofollan, 2018-04-05 00:39:44

How to install Imagick on OpenServer?

Hello.
I ran into this problem:
I'm trying to run composer install in a yii project, and the error appears in the console Problem 1
- The requested PHP extension ext-imagick * is missing from your system. Install or enable PHP's imagick extension.
Googling how to install imagick did everything as per the instructions (and not one).
But no matter how I tried, when the server is restarted, the line responsible for launching imagick (extension=php_imagick.php) disappears in php.ini.
Has anyone experienced this, or does anyone have a solution to this problem? Can you suggest?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton October, 2018-04-05
@Lyrium

1. Download windows.php.net/downloads/pecl/releases/imagick/3....
2. copy php_imagick.dll to OpenServer\modules\php\PHP-7-x64\ext\php_imagick.dll
3. add extension =php_imagick.dll to php config
4. update OpenServer\modules\imagemagick to latest version from www.imagemagick.org/script/binary-releases.php
from here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question