会动的耳朵  

参照:http://stackoverflow.com/questions/7290958/php-fatal-error-call-to-undefined-function-imagettftext

Just recompile extension gd.so, under folder php/ext/gd

./configure --with-php-config=/usr/local/php5/bin/php-config --with-freetype-dir=/usr/ --enable-gd-native-ttf

posted on 2015-07-20 22:04  会动的耳朵  阅读(275)  评论(0编辑  收藏  举报