Help Hướng dẫn cài ImageMagick PECL Extension

namhbnam

MasterCorporal
Tham gia
23/03/2016
Bài viết
317
Được Like
159
như title, có ai chỉ mình cài ImageMagick PECL Extension cho vps centos 6 32bit đc ko ak.
[root@CENTOS6 imagick-3.4.2]# make test

Build complete.
Don't forget to run 'make test'.


+-----------------------------------------------------------+
| ! ERROR ! |
| The test-suite requires that proc_open() is available. |
| Please check if you disabled it in php.ini. |
+------------------------------------------------

sau đó đã enable proc_open, tiếp tục make install

Installing shared extensions: /usr/lib64/php/modules/
Installing header files: /usr/include/php/
--------------------------------------------
tiếp tục
# echo "extension=imagick.so" > /etc/php.d/imagick.ini
--------------------------------------------
kiễm tra xem đc chưa thì báo
[root@CENTOS6 imagick-3.4.2]# php -i | grep Imagick
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/imagick.so' - /usr/lib64/php/modules/imagick.so: undefined symbol: MagickGetImageMatteColor in Unknown on line 0
 
Sửa lần cuối:
  • Like
Reactions: THB

Top Bottom