Portal Home > Knowledgebase > Articles Database > How would I stop custom php.ini with SuPHP?


How would I stop custom php.ini with SuPHP?




Posted by nessic, 08-27-2010, 09:01 AM
I have SuPHP installed on my directadmin server and I would like to know how I can make all user's follow one single php.ini. Like they cant create their own if they want to. How would I go about doing this?

Posted by TH-Guy, 08-27-2010, 09:35 AM
Hi, You should modify /opt/suphp/etc/suphp.conf You should be able to see the following lines: If you do as it says, uncomment the applicable line(s) (you can just uncomment all of the last 3 if you aren't sure), save changes and restart your web server, that will force all accounts to use the main php.ini (ones they create will not be applied). This is the easiest way to achieve what you want, although if you do this there is no way to make any sort of exceptions for any accounts on the server even as the server admin (which may or may not be a problem for you, hopefully the latter).



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
DEADnow (Views: 800)
Virtual ISP (Views: 683)
Spam issue at Leaseweb (Views: 714)


Language: