How to shift from suphp to mod_ruid2 in Centos 6

vikhyat

Verified User
Joined
May 5, 2016
Messages
6
I have DirectAdmin installed on a machine running CentOS 6 64 bit. I chose suphp while installing DirectAdmin but after I got to know that the support for it has been dropped and mod_ruid is a lot more famous and knowing its advantages, I want to shift to mod_ruid2. So, how can I do this. I already have some clients running the machine so I can even reinstall DirectAdmin
 
You dont need to reinstall DirectAdmin, you need to use CustomBuild to switch php from suphp to mod_php and enable mod_ruid2

Code:
cd /usr/local/directadmin/custombuild
./build update
./build set php1_mode mod_php
./build set mod_ruid2 yes
./build php d
./build apache
./build rewrite_confs

Regards
 
Back
Top