PHP SafeMode defualt default setting

TiRaMiSu-KiT

Verified User
Joined
Oct 4, 2004
Messages
10
Hi

Everytime I creat an account, I need to set PHP SafeMode to ON right after creating account
How can I set PHP SafeMode is always ON for new account unless I change it to OFF?

Thanks
 
You can change the safemode option in the directadmin.conf file from off to on then restart DirectAdmin. (/usr/local/directadmin/conf/directadmin.conf)
 
Hi

I went in to usr/local/directadmin/conf/ then I "vi directadmin.conf" but I couldn't find anything like "***=off"
 
It's in php.ini.

The path may be either /usr/local/lib/php.ini or /usr/local/Zend/etc/php.ini.

The line is:

safe_mode = Off

Jeff
 
PHP reads php.ini.

I don't have any idea how/when the changes in directadmin.conf get read.

Try it and see.

Jeff
 
Back
Top