Guide suphp running on linux server install DirectAdmin

1)to introduce

Suphp an increase of the security module server and enforcement of user rights php running under PHP scripts which owns.
*The advantage of running suphp:
-PHP scripts called from Web Server will be run under the user that owns PHP scripts.
-All PHP Scripts is not in one particular user would be unable to enforce or users will not be able to execute PHP Scripts is the user's other. This means that when a certain account stolen, the scripts can not yet spread to other accounts is.

*The weakness of the high CPU usage suPHP. In addition, you can not use the opcode cache (as xcache) with suPHP.
-using high CPU load suPHP if you can switch to using DSO or FastCGI.


To install the server suphp DirectAdmin,you do the following:
Sign ssh as root

cd /usr/local/directadmin/custombuild/
./build clean
./build update
./build set php5_cgi yes
./build set php5_cli no
./build all d
./build rewrite_confs

The build process will take about 30 minute,Mortar enough for us to drink coffee and wait for the results.

Finally to check suphp really work or do write khong.Chung 1 file php và chmod 777
touch /home/user/public_html/phpinfo.php
chmod 777 /home/user/public_html/phpinfo.php
If you see an "Internal Server Error" on the mean Suphp duyet.Co has successfully completed its work.
Hopefully this article will be useful for you.
Chúc các bạn thành công

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

Guide suphp running on linux server install DirectAdmin, 4.2 out of 5 based on 5 ratings