In base a questo post qui , sto riscontrando un problema di versione con Imagemagick.
- php54-imagick version = > 3.4.3_2
- imagemagick = > 7.0.5-3
Comprendo che devo eseguire il downgrade del mio imagemagick su 6.9. *
Il mio problema:
brew install php54-imagick
Automatically installs the required imagemagick 7.0.5-3 package
-
I uninstall imagemagick 7.0.5-3
brew uninstall --ignore-dependencies imagemagick
-
I install imagemagick 6.9.* (6.9.8-1 to be specific)
brew install imagemagick@6
L'errore:
macos1:~ $ php -i | grep imagick
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/opt/php54-imagick/imagick.so' - dlopen(/usr/local/opt/php54-imagick/imagick.so, 9): Library not loaded: /usr/local/opt/imagemagick/lib/libMagickWand-7.Q16HDRI.0.dylib
Referenced from: /usr/local/opt/php54-imagick/imagick.so
Reason: image not found in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/usr/local/opt/php54-imagick/imagick.so' - dlopen(/usr/local/opt/php54-imagick/imagick.so, 9): Library not loaded: /usr/local/opt/imagemagick/lib/libMagickWand-7.Q16HDRI.0.dylib
Referenced from: /usr/local/opt/php54-imagick/imagick.so
PHP Warning: Unknown: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in Unknown on line 0
Additional .ini files parsed => /usr/local/etc/php/5.4/conf.d/ext-imagick.ini
La domanda:
Come userò php54-imagick versione 3.4. * con imagemagick 6.9. *?