php-zbarcode icon indicating copy to clipboard operation
php-zbarcode copied to clipboard

checking whether to enable zbarcode Imagick support... no, why?

Open cchavez opened this issue 8 years ago • 1 comments

Hi all. I have compiled and installed php-zbarcode extension at:

12.04.5 LTS, Precise Pangolin PHP 5.3.10-1ubuntu3.21

The output did not show any error messages or something, but when I check the Apache/PHP info it says the following:

zbarcode module enabled zbarcode module version 0.0.1-dev ZBar library version 0.10 ImageMagick version ImageMagick 6.6.9-7 2014-03-06 Q16 http://www.imagemagick.org Imagick support disabled GD support disabled

Test cases also says the following:

SKIP Check whether imagick integration works [tests/006-imagick.phpt] reason: Imagick extension is not loaded

I'm not sure what I'm missing to get enable Imagick support at php ?

cchavez avatar Mar 31 '16 18:03 cchavez

Hello @cchavez,

In case you haven't figured it out yourself: you have to explicitly configure php-zbarcode to enable imagick and/or gd support. Like this:

./configure --enable-zbarcode-imagick --enable-zbarcode-gd

jorissteyn avatar Jun 19 '16 19:06 jorissteyn