베

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

· 2005-12-29 (목) 18:33:27 · 1707
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를 쓰게좀 해주세요...
댓글을 작성하시려면 로그인이 필요합니다.

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

+
제목 글쓴이 날짜 조회
05-12-30 조회 1,718
05-12-30 조회 1,650
05-12-30 조회 1,616
05-12-30 조회 1,512
05-12-30 조회 1,678
05-12-30 조회 2,035
05-12-30 조회 1,558
05-12-30 조회 1,632
05-12-29 조회 1,720
05-12-29 조회 1,702
05-12-29 조회 1,708
05-12-29 조회 1,683
05-12-29 조회 1,658
05-12-29 조회 1,647
05-12-29 조회 1,878
05-12-29 조회 1,612
05-12-29 조회 2,196
05-12-29 조회 1,690
05-12-29 조회 1,633
05-12-29 조회 1,536