GD 설치 및 Jpeg 사용 질문!!! > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

GD 설치 및 Jpeg 사용 질문!!! 정보

GD 설치 및 Jpeg 사용 질문!!!

본문

2일동안 열라가 삽질해서 겨우 GD를 깔았습니다.

별도로 깔려로 무진 애를 썼는데 잘 안되서 PHP5.1을 깔고 configure 옵션을
./configure
--prefix=/usr/local/php5
--with-apxs2=/usr/local/apache2/bin/apxs
--with-mysql=/usr/local/mysql
--with-gd
--enable-gd-native-ttf
--with-png
--with-freetype
--with-zlib
--with-jpeg
--with-config-file-path=/usr/local/lib
--with-config-file-path=/usr/local/apache2/conf
--with-exec-dir=/usr/local/apache2/bin
--enable-track-vars
--enable-trans-sid
--with-jpeg-dir=/usr/local/lib
--with-png-dir=/usr/local/lib
--with-tiff-dir=/usr/local/lib 
--with-freetype-dir=/usr/local/include/freetype2

이런식으로 깔았더니

phpinfo() 에서

GD Support  enabled 
GD Version  bundled (2.0.28 compatible) 
GIF Read Support  enabled 
GIF Create Support  enabled 
PNG Support  enabled 
WBMP Support  enabled 
XBM Support  enabled 

이런식으로 확인이 되었습니다.

그런데 왜 jpeg가 안되는지 모르겠습니다.

분명 jpeg라이브러리도 깔았습니다..
jpeg라이브러리를 깔떄 configure  옵션은 별도의 폴더를 정하지 않고
그냥 ./configure로 했습니다.

php configure 옵션에서 잘못됬을까요?

고수님들 꼭 좀 jpeg를 쓰게좀 해주세요...
  • 복사

댓글 전체

© SIRSOFT
현재 페이지 제일 처음으로