Skip to main content

pecl imagick install problem

Comments

1 comment

  • cPanelMichael
    /usr/local/include/php/ext/pcre/php_pcre.h:29:18: error: pcre.h: No such file or directory

    Hello, You can run the following command to verify the required packages are installed:
    yum install ImageMagick ImageMagick-devel pcre-devel
    Then, use the following command to install the PECL module for PHP 7.0:
    /opt/cpanel/ea-php70/root/usr/bin/pecl install imagick
    If that succeeds, run this command:
    echo 'extension=imagick.so' > /opt/cpanel/ea-php70/root/etc/php.d/imagick.ini
    Note that you'd change "php70" with the version of PHP you want to install the PECL module on, and use the same steps for each PHP version installed on your system. Thank you.
    0

Please sign in to leave a comment.