Disable Safe_mode in user cpanel account

konrath

Well-Known Member
May 3, 2005
366
1
166
Brasil
Hello ,

there are any tips or hack or script that let the users choose to disable/enable safe_mode in thier cpanel ?
Hello

If your server run php in DSO mode then put this line in the file .htaccess and upload to public_html :)

php_flag safe_mode off
or
php_flag safe_mode on

You can turn off/on the register_globals too

php_flag register_globals off
php_flag register_globals on


Konrath
 
Last edited:

activa

Well-Known Member
May 23, 2006
213
1
168
Morocco
cPanel Access Level
Root Administrator
Hello

If your server run php in DSO mode then put this line in the file .htaccess and upload to public_html :)

php_flag safe_mode off
or
php_flag safe_mode on

You can turn off/on the register_globals too

php_flag register_globals off
php_flag register_globals on


Konrath
Thanks Konrath , i know this methode , but i want a tip to let the users enable/disable safe mode from cpanel interface ?

also i'm using now VHOST includes for sites that i want to make some custom php settings .