php - installed imagick not seen by php_info -


i not experienced on linux, , need here. have installed imagemagick, , can see version below:

[root@zpanel temp]# convert -version  version: imagemagick 6.8.5-4 2013-05-02 q16 http://www.imagemagick.org copyright: copyright (c) 1999-2013 imagemagick studio llc features: dpc openmp delegates: bzlib fontconfig freetype jng jp2 jpeg lcms png ps tiff x xml zlib 

but cannot see in php_info(check url : http://www.galepress.com/phpinfo.php). have restarted httpd etc, no good. ps : have run following command , warnings:

[root@zpanel temp]# php -m | grep imagick  php warning:  php startup: unable load dynamic library '/usr/local/src/imagick-3.0.1/modules/imagick.so' - libmagickwand.so.2: cannot open shared object file: no such file or directory in unknown on line 0 php warning:  php startup: unable load dynamic library '/usr/lib64/php/modules/imagick.so' - /usr/lib64/php/modules/imagick.so: cannot open shared object file: no such file or directory in unknown on line 0 

how install php5-imagick package on debian:

apt-get install php5-imagick 

in case of dependencies problem may need try installing older version:

apt-get install php5-imagick/oldstable 

if goes well, don't forget restart apache service:

/etc/init.d/apache2 restart 

Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

javascript - Clean way to programmatically use CSS transitions from JS? -

android - send complex objects as post php java -