我已经安装了GD和Freetype,但是我不能使它工作。 服务器运行与cPanel的CentOS 5。
我在php.net上阅读,我需要与更多的选项编译PHP
--with-gd --enable-gd-native-ttf --with-png --with-zlib-dir=/usr/local/lib/zlib-1.2.1 --with-ttf --with-jpeg-dir=/usr/local/lib/jpeg-6b/ --with-freetype-dir=/usr/local/lib/freetype-2.1.9/ --with-xpm-dir=/usr/X11R6/
但是,我不知道我应该在哪里input这个。
怎么样
--with-freetype --with-freetype-dir=/usr/local/lib/freetype-2.1.9/