Home > Backend Development > PHP Tutorial > php追加编译imagick

php追加编译imagick

WBOY
Release: 2016-06-20 12:57:58
Original
1149 people have browsed it

一、先安装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"  


  • Related labels:
    source:php.cn
    Statement of this Website
    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
    Popular Tutorials
    More>
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template