php openssl 동적 모듈설치
페이지 정보
작성자 HARULIFE 작성일 20-11-24 11:42 조회 47,391 댓글 0본문
1. 설치
# cd /usr/local/src/php-5.3.21/ext/openssl // php 소스 폴더의 ext/openssl 디렉토리로 이동
# /usr/local/php/bin/phpize
# ./configure --enable-openssl --with-php-config=/usr/local/php/bin/php-config
# make
# mkdir /usr/local/php/modules
# cp -arp modules/openssl.so /usr/local/php/modules/
2. 연동
# vi /usr/local/apache/conf/php.ini
extension=/usr/local/php/modules/openssl.so
그리고 아파치를 재시작 해주면 적용이 완료됩니다.
# /usr/local/apache/bin/apachectl restart
# cd /usr/local/src/php-5.3.21/ext/openssl // php 소스 폴더의 ext/openssl 디렉토리로 이동
# /usr/local/php/bin/phpize
# ./configure --enable-openssl --with-php-config=/usr/local/php/bin/php-config
# make
# mkdir /usr/local/php/modules
# cp -arp modules/openssl.so /usr/local/php/modules/
2. 연동
# vi /usr/local/apache/conf/php.ini
extension=/usr/local/php/modules/openssl.so
그리고 아파치를 재시작 해주면 적용이 완료됩니다.
# /usr/local/apache/bin/apachectl restart
- 이전글 PHP에서 MS-SQL 서버를 연동하기 위한 방법
- 다음글 Warning: phpinfo(): It is not safe to rely on the system's timezone settings
댓글목록 0
등록된 댓글이 없습니다.