본문 바로가기

리눅스

[리눅스] PHP 수호신(Suhosin) 설치

반응형

 

PHP 수호신(Suhosin) 설치

 

[root@lvm07 src]# wget http://download.suhosin.org/suhosin-0.9.29.tgz

[root@lvm07 src]# tar xvfz suhosin-0.9.29.tgz

[root@lvm07 src]# cd suhosin-0.9.29

[root@lvm07 suhosin-0.9.29]# phpize

[root@lvm07 suhosin-0.9.29]# ./configure --with-php-config=/usr/bin/php-config

[root@lvm07 suhosin-0.9.29]# make && make install

 

- php.ini Suhosin 설정 추가

[root@lvm07 ~]# vi /etc/php.ini

[Suhosin]

;extension_dir=/usr/lib64/php/modules/

extension=suhosin.so

 

[root@lvm07 ~]# php -v

PHP 5.3.3 (cli) (built: Jul  9 2015 17:39:00)

Copyright (c) 1997-2010 The PHP Group

Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

    with Suhosin v0.9.29, Copyright (c) 2007, by SektionEins GmbH

 

Download

http://suhosin.org/stories/download.html

728x90
반응형