2013년 1월 6일 일요일

PHP 5.3 설치... 중 발생하는 오류 처리



원 설치 옵션

PHP-5.3.15 다운로드(bz2로 다운로드)
[root@localhost]# wget http://kr1.php.net/distributions/php-5.3.15.tar.bz2

[root@localhost]# ./configure --prefix=/home/apps/php --with-apxs2=/home/apps/apache/bin/apxs --disable-debug --enable-sockets --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-exif --with-curl --with-gd=/usr --with-gdbm --enable-gd-native-ttf --enable-gd-jis-conv --with-freetype-dir=/usr --with-png-dir=/usr --with-jpeg-dir=/usr --with-xpm-dir=/usr --with-gettext --with-iconv --enable-pcntl --with-readline --with-openssl --with-bz2 --with-zlib --with-mcrypt --with-mhash --enable-mbstring=all --enable-mbregex --enable-libxml --with-xmlrpc --enable-ftp --enable-dba --disable-ipv6 --with-libdir=lib64 --with-pear --with-mysql=shared,/home/db/mysql




QDBM 문제
yum install gdbm-devel gd-devel
yum install libXpm libXpm-devel
yum install libtool-ltdl-devel

설치

libXpm 문제
설치 옵션 중
--with-libdir=lib64
추가

libmcrypt 문제

wget http://ftp.riken.jp/Linux/fedora/epel/RPM-GPG-KEY-EPEL-6

http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

rpm -ivh epel-release-6-8.noarch.rpm

yum reinstall libmcrypt.x86_64
yum reinstall libmcrypt-devel.x86_64

cp -R /home/apps/php/lib /home/apps/php/lib64

댓글 없음:

댓글 쓰기