小程序:扫一扫查出行【扫一扫了解最新限行尾号】复制小程序 参照: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