Guide Suhosin installed on linux server

If people do not know what Suhosin can be found at http://www.hardened-php.net/suhosin/. In short, Suhosin is a PHP extension enhances several layers of security and patch some serious errors PHP.

To installed Suhosin on linux you prepare you 1 ly cafe,after that,follow these steps:

1)The latest Dow suhosin

cd /usr/download (no directories, create offline)

# wget http://download.suhosin.org/suhosin-0.9.33.tgz

# tar –zxf

2)You have to make the php-devel installed

# yum install php-devel

3) Compile suhosin với php

# cd suhosin-0.9.33
# phpize
#./configure
# make
# make install

# echo ‘extension=suhosin.so’ > /etc / php.d / suhosin.ini

4) Restart webserver

# ser­vice httpd restart

5)Verify suhosin already installed or not :

# php –v

VD:

# php –v

PHP 5.2.17 (cli) (built: Nov 13 2010 16:05:12)
Copy­right © 1997–2006 The PHP Group
Zend Engine v2.1.0, Copy­right © 1998–2006 Zend Tech­nolo­gies
with Suhosin v0.9.33, Copy­right © 2007, by Sek­tionEins GmbH

Clear ,suhosin was installed successfully.

Chúc các bạn thành công

 

 

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)