1. 우선 서버에 openssl이 설치 되어 있는지 확인 한다.
rpq -qn | grep openssl
2. openssl 이 설치가 안되어 있다면 yum으로 설치한다.
yum install openssl
3. cd /usr/local/src/php-5.3.20
4. ./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-config-file-path=/usr/local/apache2/conf --with-mysql=/usr/local/mysql --with-curl --enable-calendar --enable-shmop --enable-ftp --enable-sockets --enable-magic-quotes --disable-cgi --with-gd --with-png-dir=/usr/lib --with-zlib-dir --with-jpeg-dir=/usr/lib --with-freetype-dir=/usr/lib --with-iconv --enable-mbstring --with-mcrypt=/usr/local --with-openssl --with-xml 입력후 엔터
기존 configure 에 --with-openssl 을 추가해서
5. 4번 완료후 make 입력 후 엔터
6. 6번 완료후 make install (http://okkks.tistory.com/1027)
7. /usr/local/apache2/bin/apachectl restart 아파치 재시작
8. /etc/init.d/httpd start 하고 확인
자신의 현재 서버 configure 를 확인 할려면 phpinfo()를 통해서 확인 하실 수 있습니다.