프로그램/php2014. 8. 8. 13:38

php를 설치하기 전에 openssl설치가 되어있는지 확인한다.

openssl 설치 확인

linux yum을 이용한 openssl 설치

 

 

php 설치 configure 옵션에 –with-openssl을 사용한다.

]# ./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache/bin/apxs --disable-debug --with-iconv --with-gd --with-jpeg-dir --with-png-dir --with-libxml-dir --with-freetype-dir --with-zlib-dir --with-config-file-path=/usr/local/apache/conf --enable-sockets --with-openssl --with-mcrypt

 

 

 

php 설치를 진행한다.

 

 

php openssl 연동을 확인한다.

Posted by 은둔고수