CT0
15/10/13, 21:00
Ik zit nu al een tijdtje te klooien met ImageMagick op een Centos 5 server. Op Centos 6 heb ik het zo gefixt, maar op deze wat oudere server krijg ik het niet voor elkaar. En volgens mij kijk ik er overheen...
Het probleem is dat de API interfaces niet matchen.
# php -v
PHP Warning: PHP Startup: imagick: Unable to initialize module
Module compiled with module API=20060613
PHP compiled with module API=20090626
These options need to match
in Unknown on line 0
PHP 5.3.27 (cli) (built: Oct 15 2013 20:49:21)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd., and
with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies
Versie ImageMagick:
convert --version
Version: ImageMagick 6.8.7-0 2013-10-11 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: DPC OpenMP
Delegates: bzlib jng jpeg lcms png png tiff x xml zlib
Versie van Pecl imagick-3.1.2
De .so is gekopieerd uit de map /usr/local/php5/lib/php/extensions/no-debug-non-zts-20090626/imagick.so ... dus dat lijkt me ook goed.
PHP is ook up-to-date. "Module compiled with module API=20060613" Welke module is dat dan?? Ik kijk er volgens mij compleet overheen... :o
Het probleem is dat de API interfaces niet matchen.
# php -v
PHP Warning: PHP Startup: imagick: Unable to initialize module
Module compiled with module API=20060613
PHP compiled with module API=20090626
These options need to match
in Unknown on line 0
PHP 5.3.27 (cli) (built: Oct 15 2013 20:49:21)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd., and
with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies
Versie ImageMagick:
convert --version
Version: ImageMagick 6.8.7-0 2013-10-11 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: DPC OpenMP
Delegates: bzlib jng jpeg lcms png png tiff x xml zlib
Versie van Pecl imagick-3.1.2
De .so is gekopieerd uit de map /usr/local/php5/lib/php/extensions/no-debug-non-zts-20090626/imagick.so ... dus dat lijkt me ook goed.
PHP is ook up-to-date. "Module compiled with module API=20060613" Welke module is dat dan?? Ik kijk er volgens mij compleet overheen... :o