how to enable suphp

sstallin

Verified User
Joined
Jul 8, 2019
Messages
6
Hi all,

Please let us know how to enable suphp in the server with direct admin with custom build 2.0
 
suPHP is EOL, and has not received any updates since 2003. I would not recommend that you use suPHP:

"suPHP is not maintained any longer and will not receive any further updates not even security patches. " From http://suphp.org
 
Hello,

Here is a code snippet that will allow to install suPHP:

Code:
cd /usr/local/directadmin/custombuild
./build update && ./build clean
for i in 1 2 3 4; do ./build set php${i}_mode suphp; done;
./build php
./build suphp
./build apache
./build rewrite_confs

But as it has been already mentioned you'd better use fastcgi or PHP-FPM instead of suPHP.
 
Back
Top