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

· 20년 전 · 1617
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 질문답변

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

+
제목 글쓴이 날짜 조회
20년 전 조회 1,563
20년 전 조회 1,530
20년 전 조회 1,426
20년 전 조회 1,594
20년 전 조회 1,962
20년 전 조회 1,468
20년 전 조회 1,560
20년 전 조회 1,625
20년 전 조회 1,605
20년 전 조회 1,618
20년 전 조회 1,565
20년 전 조회 1,559
20년 전 조회 1,557
20년 전 조회 1,781
20년 전 조회 1,509
20년 전 조회 2,087
20년 전 조회 1,602
20년 전 조회 1,539
20년 전 조회 1,438
20년 전 조회 1,140
🐛 버그신고