看板 Linux 關於我們 聯絡資訊
大大好 不知道是否能詢問環境問題 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
whitecolor: 以解決,少做了 make clean 10/14 16:56