Home  >  Article  >  Backend Development  >  php追加编译imagick

php追加编译imagick

WBOY
WBOYOriginal
2016-06-20 12:57:581096browse

一、先安装ImageMagick

二、

  • wget http://pecl.php.net/get/imagick-2.2.2.tgz  

  • tar zxvf imagick-2.2.2.tgz  

  • cd imagick-2.2.2/  

  • /usr/local/webserver/php/bin/phpize  

  • ./configure --with-php-config=/usr/local/webserver/php/bin/php-config  

  • make  

  • make install  

  • #最后,修改php.ini,加上(去除下面#号)  

  • #extension = "imagick.so"  


  • Statement:
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn