Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cchavez opened this issue Mar 31, 2016 · 1 comment
Open

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

cchavez opened this issue Mar 31, 2016 · 1 comment

Comments

@cchavez
Copy link

cchavez commented Mar 31, 2016

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 ?

@jorissteyn
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants