首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

linux停 GD库支持freetype

2012-06-30 
linux下 GD库支持freetype要使用gd库生成icon等,需要支持yum install freetype-develphp安装脚本#!/bin/ba

linux下 GD库支持freetype
要使用gd库生成icon等,需要支持

yum install freetype-devel


php安装脚本

#!/bin/bash




tar zxvf php-5.3.2.tar.gzcd php-5.3.2yum -y install gd-develyum -y install libmcryptyum -y install libmcrypt-develyum -y install curl-develyum -y install freetype-develCFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" ./configure --prefix=/home/programs/php-5.3.2 --enable-fastcgi --with-mysql=/home/programs/mysql --enable-zend-multibyte --enable-zip --enable-discard-path --enable-force-cgi-redirect --with-libxml-dir --with-curl=/home/programs/curl --with-openssl --with-mysqli --with-pdo-mysql=/home/programs/mysql --with-zlib --enable-mbstring --with-gd --with-jpeg-dir=/usr/local/ --with-png-dir=/usr/local --with-mcrypt --enable-exif  --with-ttf --with-iconv  --enable-mbstring --enable-xml --enable-sockets --enable-mbstring --with-snmp --with-freetype-dir=/usr/include/freetype2/make cleanmakemake install


热点排行