[問題] PHP centos freetype 載入失敗
大大好 不知道是否能詢問環境問題
os:centos 5.9
php version: 5.6.0
gd version: bundled (2.1.0 compatible)
我在環境要加入 支持GD的元件 freetype(version 2.6.1)
compile freetype step:
1. ./configure --prefix=/usr/local/freetype --enable-shared
2. make && make install
compile gd step
1. 切換到 gd forder => /ext/gd
2. phpize
3. ./configure --prefix=/usr/local/gd --with-freetype-dir=/usr/local/freetype
4. make && make install
recompile php
1. 切換到 php forder :
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-pdo-mysql
--with-mysql --with-mysqli --with-mssql=/usr/local/freetds -with-openssl
--with-gd --with-freetype-dir=/usr/local/freetype --with-jpeg-dir
--with-png-dir --enable-gd-native-ttf --with-curl --enable-ftp
--enable-mbstring --with-zlib --with-config-file-path=/usr/local/apache2
2. make && make install
看了 phpinfo,GD有成功但 freetype 卻失敗
想問問可能問題點是?
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 114.32.163.6
※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1444810971.A.78C.html
→
10/14 16:56, , 1F
10/14 16:56, 1F
Linux 近期熱門文章
21
56
PTT數位生活區 即時熱門文章