codecasts / php-alpine

PHP APK Repository for Alpine Linux
https://github.com/codecasts/php-alpine
483 stars 58 forks source link

Problem with imagick #71

Closed rawpixel-vincent closed 4 years ago

rawpixel-vincent commented 5 years ago

Got this error after rebuilding my php image: PHP Warning: Version warning: Imagick was compiled against Image Magick version 1799 but version 1800 is loaded. Imagick will run but may behave surprisingly

I'm using https://php.codecasts.rocks/v3.8/php-7.2

rawpixel-vincent commented 5 years ago

using pkg:

RUN apk add \
        ... \
        imagemagick \
        php-imagick@php
rawpixel-vincent commented 5 years ago

Same issue with https://php.codecasts.rocks/v3.8/php-7.3

glensc commented 5 years ago

it's harmless runtime check.

imagick or php-imagick developers should learn about shared library versioning.

but you can disable this either compile time, like i did:

or via the ini setting: imagick.skip_version_check=1

hernandev commented 4 years ago

@glensc did not knew about the patch.

when the packages here get updated frequently, this warning mostly does not show, I'll make a way to include the version check disable into package ini

better than patching the build, so the user can chose to enable it back.

thanks!