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

ImageMagick ext not working #153

Open
dubcanada opened this issue Jul 31, 2014 · 3 comments
Open

ImageMagick ext not working #153

dubcanada opened this issue Jul 31, 2014 · 3 comments

Comments

@dubcanada
Copy link

Hello,

I am trying to get ImageMagick working, but it keeps failing with

PHP Warning:  PHP Startup: Unable to load dynamic library 
'/app/vendor/php/lib/php/extensions/no-debug-non-zts-20121212/imagick.so' - 
libMagickWand.so.2: cannot open shared object file: No such file or directory in 
Unknown on line 0
@hotmeteor
Copy link

+1

@Jcantarero
Copy link

yum remove ImageMagick
pecl uninstall imagick

vim /etc/php.ini remove this "extension=imagick.so" or...
cd /etc/php.d/
rm imagick.ini

service nginx stop && service php-fpm stop && service php-fpm start && service nginx start
o service httpd restart

yum install ImageMagick ImageMagick-devel
pecl install imagick
echo extension=imagick.so >> /etc/php.ini
service nginx stop && service php-fpm stop && service php-fpm start && service nginx start or service httpd restart

php -m | grep imagick
imagick

Perfect!

@wshobson
Copy link

+1

rijnhard pushed a commit to rijnhard/heroku-buildpack-php that referenced this issue Aug 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants