I tried to install Imagemagick for php 7.3 with the phpswitcher Plugin. That's what I did:
- ✘ ⚡ root@s01 ~ /opt/phpswitcher/20191001/php7.3/bin/pecl install imagick
- In file included from /opt/phpswitcher/20191001/php7.3/include/php/ext/spl/spl_iterators.h:25:0,
- from /tmp/pear/temp/imagick/imagick.c:37:
- /opt/phpswitcher/20191001/php7.3/include/php/ext/pcre/php_pcre.h:27:19: fatal error: pcre2.h: No such file or directory
- #include "pcre2.h"
- compilation terminated.
- Makefile:206: recipe for target 'imagick.lo' failed
- make: *** [imagick.lo] Error 1
- ERROR: `make' failed
Does anybody have a solution? If you need more info about my System, just ask.