suphp.conf overwritten when running ./build rewrite_confs

wtptrs

Verified User
Joined
Jul 13, 2015
Messages
74
We have some older servers running SuPHP and noticed /usr/local/suphp/etc/suphp.conf gets overwritten when running ./build rewrite_confs. Is it possible to use a custom suphp.conf file with Custombuild (as it is with the httpd configuration files) or are we better off just chattr-ing it?

Thanks!
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
14,255
Location
GMT +7.00
Hello,


1. create dir /usr/local/suphp/etc/custom/
2. copy /usr/local/suphp/etc/suphp.conf to /usr/local/suphp/etc/custom/suphp.conf
3. Copy suphp configure script from custombuild/configure/suphp/ to custombuild/custom/suphp/
4. update path for config file to /usr/local/suphp/etc/custom/suphp.conf
5. re-install suphp
 
Top