系统:Linux配置:
echo phpinfo();
#----------------------------------
Configure Command './configure' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-mysql=/mysql' '--with-gd' '--with-zlib-dir=/usr/local' '--with-jpeg-dir=/usr/local' '--with-mysqli=/mysql/bin/mysql_config' '--enable-mbstring' '--with-curl=/usr/lib' '--with-freetype-dir=/usr/local' gd
GD Support enabled
GD Version bundled (2.0.34 compatible)
GIF Read Support enabled
GIF Create Support enabled
JPEG Support enabled
libJPEG Version 6b
PNG Support enabled
libPNG Version 1.2.23
WBMP Support enabled
XBM Support enabled
#----------------------------------
出错:
Fatal error: Call to undefined function imagettftext()
echo phpinfo();
#----------------------------------
Configure Command './configure' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-mysql=/mysql' '--with-gd' '--with-zlib-dir=/usr/local' '--with-jpeg-dir=/usr/local' '--with-mysqli=/mysql/bin/mysql_config' '--enable-mbstring' '--with-curl=/usr/lib' '--with-freetype-dir=/usr/local' gd
GD Support enabled
GD Version bundled (2.0.34 compatible)
GIF Read Support enabled
GIF Create Support enabled
JPEG Support enabled
libJPEG Version 6b
PNG Support enabled
libPNG Version 1.2.23
WBMP Support enabled
XBM Support enabled
#----------------------------------
出错:
Fatal error: Call to undefined function imagettftext()
This function requires both the GD library and the » FreeType library.