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를 쓰게좀 해주세요...
별도로 깔려로 무진 애를 썼는데 잘 안되서 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를 쓰게좀 해주세요...
댓글 전체