独角兽企业重金招聘Python工程师标准>>>
需要的类库在这里下载:/opensource/
编译gd扩展,支持freetype
1、安装freetype
下载freetype
http://download./releases/freetype/freetype-2.4.4.tar.bz2
tarjxvffreetype-2.4.4.tar.bz2cdfreetype-2.4.4./configure--prefix=/usr/local/freetype
2、安装php gd扩展
cd/usr/local/src/php-5.4.26/ext/gd/usr/local/php/bin/phpize./configure--with-php-config=/usr/local/php/bin/php-config--with-freetype-dir=/usr/local/freetype
如果觉得《mac php gd(mac osx 10.9.4)》对你有帮助,请点赞、收藏,并留下你的观点哦!