Q & A
-
-
0
Nota -
0
Optiuni -
472
Accesari -
CritiC
How to install imagick for PHP ?
- 1 year ago
GNU/Linux
- 1 year ago
The imagick.so PHP module can’t currently be installed via PECL, due to it’s inability to write to /var/tmp. To get around that, you can install it manual:
# yum install ImageM* netpbm gd gd-* libjpeg libexif gcc coreutils make # cd /usr/local/src # wget http://pecl.php.net/get/imagick # tar zxvf ./imagick-6.5.tgz # cd imagick-6.5 # phpize # ./configure # make # make test # make install
This will compile imagick.so, and move it to your extensions directory specified in php.ini. Now you’ll need to add extension for imagick to php.ini:
extension=imagick.so
and restart apache with following command:
#service httpd restart
- Comenteaza
- powered by Verysign