[問題] PHP centos freetype 載入失敗

看板Linux作者 (白色)時間10年前 (2015/10/14 16:22), 編輯推噓0(001)
留言1則, 1人參與, 最新討論串1/1
大大好 不知道是否能詢問環境問題 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
以解決,少做了 make clean
10/14 16:56, 1F
文章代碼(AID): #1M7X3RUC (Linux)
文章代碼(AID): #1M7X3RUC (Linux)