PHP安裝imagemagick擴展imagick

點擊下載p_w_picpathmagick系統源碼包
php

點擊下載php擴展imagick
bash


安裝p_w_picpathmagick:ide

# ./configure --prefix=/usr/local/p_w_picpathmagick --with-bzlib=yes --with-fontconfig=yes --with-freetype=yes --with-gslib=yes --with-gvc=yes --with-jpeg=yes --with-jp2=yes --with-png=yes --with-tiff=yes
# make && make install


安裝imagick:spa

解決依賴:.net

#libpng libpng-devel libjpeg libjpeg-devel freetype freetype-devel
# phpize

# ./configure --with-php-config=/usr/local/php/bin/php-config --with-imagick=/usr/local/p_w_picpathmagick
# make && make install
blog


php.ini新增一行:get

extension=imagick.so


重啓Apache:源碼

wKiom1jrkkmBlbGXAADUgwklMas697.png

相關文章
相關標籤/搜索