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

php make install 문제입니다.

작성자 정보

  • 새싹 작성
  • 작성일

컨텐츠 정보

본문

Installing PHP SAPI module:       apache2handler
/usr/local/apache/build/instdso.sh SH_LIBTOOL='/usr/local/apache/build/libtool' libphp5.la /usr/local/apache/modules
/usr/local/apache/build/libtool --mode=install cp libphp5.la /usr/local/apache/modules/
cp .libs/libphp5.lai /usr/local/apache/modules/libphp5.la
cp .libs/libphp5.a /usr/local/apache/modules/libphp5.a
chmod 644 /usr/local/apache/modules/libphp5.a
ranlib /usr/local/apache/modules/libphp5.a
libtool: install: warning: remember to run `libtool --finish /usr/local/src/php-5.2.10/libs'
Warning!  dlname not found in /usr/local/apache/modules/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache/modules/libphp5.so
chmod: cannot access `/usr/local/apache/modules/libphp5.so': 그런 파일이나 디렉토리가 없음
apxs:Error: Command failed with rc=65536
.
make: *** [install-sapi] 오류 1
-----------------------------------------------------------------------------------
make install 하고 나니 이런 오류가 뜹니다
왜이런거죠?
libphp5.so 를 생성해야된다는 말인가요?
centos 5.3이고
php 버전 5.2.10 입니다 !


관련자료

댓글 3

박신주님의 댓글

  • 박신주
  • 작성일
먼저 설치하신 모듈과 php configure 옵션을 올려주시면 답변을 드리기가 쉬워집니다.

새싹님의 댓글

  • 새싹
  • 작성일
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --enable-mod-charset --with-config-file-path=/usr/local/apache/conf --enable-safe-mode --enable-sigchild --enable-magic-quotes --with-libxml-dir=/usr --with-openssl --with-zlib --with-zlib-dir --with-bz2 --enable-calendar --with-curl --enable-dba --with-gdbm --enable-exif --enable-ftp --with-gd --with-jpeg --with-jpeg-dir=/usr --with-png --with-png-dir=/usr/lib --with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf --with-gettext --with-imap --with-imap-ssl --with-kerberos --enable-mbstring --with-mhash --with-mysql=/usr/local/mysql --enable-sockets --with-regex=php --enable-sysvmsg --enable-sysvsem =yes --enable-sysvshm=yes  --enable-wddx --enable-zend-multibyte --with-xml --enable-mailparse --enable-trans-id --enable-inline-optimization --enable-bcmath

박신주님의 댓글

  • 박신주
  • 작성일
configrure 옵션이 좀 많네요..ㅎㅎ
옵션에 해당하는 프로그램들이 모두 설치 되었는지 한번 확인해보시는게 나을거 같네요.

공지사항


뉴스광장


  • 현재 회원수 :  60,035 명
  • 현재 강좌수 :  35,793 개
  • 현재 접속자 :  212 명