Basado en esta publicación aquí , tengo un problema de versiones con Imagemagick.
- php54-imagick version = > 3.4.3_2
- imagemagick = > 7.0.5-3
Comprendo que necesito degradar mi imagen en 6.9.*
Mi problema:
brew install php54-imagick
Instala automáticamente el paquete imagemagick 7.0.5-3 requerido
-
Desinstalo imagemagick 7.0.5-3
brew uninstall --ignore-dependencies imagemagick
-
Instalo imagemagick 6.9. * (6.9.8-1 para ser específico)
brew install imagemagick@6
El error:
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 pregunta:
¿Cómo usaría php54-imagick versión 3.4. * con imagemagick 6.9. *?