[완료] centOS APM 설치시 유독 GD라이브러리에서 jpeg가 enabled되지 않습니다.
gd 설치 php 설치 전부 마무리 했습니다.
그런데 유독 jpg support 가 false 입니다.
몇번을 설치해도 마찬가지네요.
어떻게 해야할지요.
(GD: 2.0.33 / PHP 5.2.5)
아래는 php설치시 환경설정 입니다.
./configure --prefix=/usr/local/php2 \
--with-config-file-path=/usr/local/php2/lib \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysql=/usr/local/mysql5 \
--with-zlib=/usr/local/zlib \
--with-curl=/usr/local/curl \
--with-openssl=/usr/local/openssl \
--with-mysql-dir=/usr/local/mysql5/ \
--with-config-file-path=/usr/local/php2/conf \
--with-png-dir=../libpng-1.2.5 \
--with-jpeg-dir=/usr/local/jpeg \
--with-gd=/usr/local/gd \
--with-freetype-dir=/usr/local/freetype \
--with-curl-dir=/usr/local/curl \
--with-libxml-dir=/usr/local/libxml \
--with-openssl-dir=/usr/local/openssl \
--with-charset=euc_kr \
--with-language=korean \
--enable-ftp \
--enable-sockets \
--enable-memory-limit=yes \
--enable-track-vars \
--enable-mode \
--enable-magic-quotes \
--enable-debugger \
--enable-mbstring \
--enable-exif \
--enable-ftp \
--enable-soap \
--enable-mbstring \
--disable-debug
PHP configure 시 이런 메시지가 나오네요
checking for gdImageGif in -lgd... yes
checking for gdImageWBMP in -lgd... yes
checking for gdImageCreateFromJpeg in -lgd... no
gdImageCreateFromJpeg 가 checking 되지 않는듯 합니다.
원인이 무엇일까요?
자답입니다.
자답 입니다.
--with-jpeg-dir=/usr/local/jpeg \
--with-gd=/usr/local/gd \
을
--with-jpeg-dir \
--with-jpeg \
--with-gd \
로 수정후 해결
댓글 달기