You cannot see this page without javascript.

PHP Suhosin 설치

APM 조회 수 231 추천 수 0 2016.09.28 15:19:57

수호신의 익스텐션과 패치 다운로드

http://www.hardened-php.net/suhosin/download.html

 

현재 본인의 경우 PHP7을 사용중이라

패치는 적용할 수 없고 익스텐션만 가능하다.

 

이전버전일 경우 패치를 적용하고자 한다면 다음과 같이 하자.

 

# tar -zxvf php-5.x.x.tar.gz
# gzip -d suhosin-patch-5.x.x-0.9.10.patch.gz
# cd php-5.x.x
# patch -p1 -i ../suhosin-patch-5.x.x-0.9.10.patch.gz

 

위와같이 php에 패치를 적용한후에 정상적인 방법으로 php를 컴파일 하면 된다.

 

이번에는 다음과 같이 익스텐션 설치를 해보자.

 

--php5

# git clone https://github.com/sektioneins/suhosin

# cd suhosin
# phpize
# ./configure \
--with-php-config=<php경로>/bin/php-config \
--enable-suhosin-experimental
# make
# make install

 

--php7

# git clone https://github.com/sektioneins/suhosin7
# cd suhosin7
# phpize

# ./configure \
--with-php-config=<php경로>/bin/php-config \
--enable-suhosin-experimental
# make
# make install

 

이후에 php의 익스텐션으로 모듈을 등록한다.

 

extension=suhosin.so

 

phpinfo()명령으로 설치가 정상적으로 되었는지 확인해 보자

 

suhosin.png

 

첨부
엮인글 :
List of Articles
번호 제목 글쓴이 날짜 조회 수sort
369 CRM 2011 설치 file LynX 2012-12-15 182
368 Linux iconv 이용하여 문자셋 변경 LynX 2015-01-03 193
367 ODBC 오류 LynX 2012-12-08 215
366 Server 사이트 품질 측정 website.grader.com LynX 2016-12-22 216
365 Linux WNCSS_qcom Mac Address 바꾸기 file [9] LynX 2014-11-10 218
364 Linux ls 명령어 메뉴얼 [9] LynX 2014-12-30 218
363 Media 다수의 그림파일 PDF변환 file LynX 2013-12-13 219
362 Programing 베너관리 코드 LynX 2016-08-04 220
361 윈도우 2008서버에 XE 설치 절차 [9] LynX 2012-11-22 221
360 APM 설치 LynX 2013-03-25 222
359 Linux 리눅스 사용 기초 - 03 vi 에디터 LynX 2017-02-17 222
358 Linux 리눅스 사용 기초 - 05 도움말 얻기 LynX 2017-02-17 223
357 APM php에 memcached.so 확장 모듈 적용 file LynX 2016-09-23 224
356 Win XP Crack file [8] LynX 2011-10-31 226
355 URL 재작성 [8] LynX 2012-12-12 226
354 FLV 에서 MP3 추출 file LynX 2012-12-23 229
353 APM http 프로토콜 https 로 리다이렉션 LynX 2017-07-14 229
352 SoftWare mysql 설치 옵션 [10] LynX 2015-01-02 230
» APM PHP Suhosin 설치 file LynX 2016-09-28 231
350 Linux 09 - FTP.FTP Tunneling,cifs file [9] LynX 2012-11-29 234

XE Login