질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

php 4.4.4 에서 php 5.2.17로 업데이트 하려는데요. configure 에러가 나서요..

작성자 정보

  • 김나 작성
  • 작성일

컨텐츠 정보

본문


 안녕하세요 ^^

 현재 php 4.4.4 가 설치되어 있는데 php 5.2.17로 버전업을 하려고 합니다.

 ./configure
--prefix=/usr/local/php_5.2.17
--with-config-file-path=/usr/local/apache_1.3.37-ssl/conf
--with-apxs=/usr/local/apache_1.3.37-ssl/bin/apxs
--with-libxml-dir
--with-openssl
--enable-exif
--with-imap
--with-imap-ssl
--with-kerberos
--with-zlib
--enable-ftp
--with-gd
--with-jpeg-dir
--with-png-dir
--with-ttf
--with-freetype-dir
--with-gettext
--with-gmp
--with-ldap
--with-ldap-sasl
--enable-mbstring
--enable-mbregex
--enable-mbstr-enc-trans
--with-mysql=/usr/local/mysql
--enable-memory-limit
--enable-zend-multibyte
--with-expat-dir=/usr
--with-xml
--with-language=korean
--with-charset=euc_kr
--enable-unicode
--with-iconv
--disable-debug
--disable-posix
--disable-rpath
--enable-track-vars
--disable-dmalloc
--enable-bcmath
--enable-dio
--enable-sysvsem
--enable-sysvshm
--enable-wddx
--enable-versioning
--enable-pic
--enable-inline-optimization
--enable-gd-native-ttf
--enable-dl
--with-calendar=shared
--enable-trans-sid
--with-t1lib
--with-openssl=/usr/local/ssl
--with-dom=/usr

와 같이 configure 를 설정 하였는데요.
(기존 설치된 phpinfo() 에 있는 configure command 를 다 입력하였습니다.)

configure: error: GD build test failed. Please check the config.log for details.

가 나더라구요..
음.. 이곳 저곳 뒤져 보긴 하였지만 확실한 답이 안나오네요.ㅠ 고수님들 이럴땐 어떻게 수정을 하여야 하나요??

관련자료

댓글 4

눈여울님의 댓글

  • 눈여울
  • 작성일
gd 가  설치 되어있는지 확인 해보시고

만약 컴파일서치하셨다면  설치된경로를 같이 설정해주세요

눈여울님의 댓글

  • 눈여울
  • 작성일
아그리고  php4.x와  php5.x ./configure 옵션 명도 일부 변경된것이있습니다

--help로 확인을 해보셔야 할것같네요

황정호님의 댓글

  • 황정호
  • 작성일
도한 gd버젼이 php5,x 설치시에 문제 없는지도 확인하셔서 문제있을시 gd먼저 설치하신후 해야합니다.

원준님의 댓글

  • 원준
  • 작성일
php4 에서 php5 업데이트 할때엔 php4 로 짜여진 소스와 php5 소스가 잘 연동이 되는지.
확인을 해야지 됩니다.
저도 고런 문제 때문에 엄청 애먹었습니다.
제 짧은 생각은 php프로그래머 한테 일단 문의해서 문제점을 점검해보고
php버전은 php5.xxx대 초기 버전으로 하시는게 좋아 보입니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,284 명
  • 현재 강좌수 :  36,959 개
  • 현재 접속자 :  389 명