Portal Home > Knowledgebase > Articles Database > Turning on safe_mode for specific site?
Turning on safe_mode for specific site?
Posted by chasebug, 10-11-2009, 12:39 PM |
I have safe_mode on globally but I am trying to disable it for a specific site but it's not working.
Tried both of these and both say invalid command:
php_admin_flag safe_mode Off
php_admin_value safe_mode 0
If I put it inside I don't get the invalid command but safe_mode is still on for that domain.
|
Posted by root24x7, 10-11-2009, 02:32 PM |
Are you adding the lines to .htaccess file ? It will will not work and give error if suexec is enabled on the server. Try adding the below lines to virtualhost entry of the domain in http.conf
|
Posted by chasebug, 10-11-2009, 03:09 PM |
I am adding them to httpd.conf and it is not working, says invalid command.
|
Posted by root24x7, 10-11-2009, 06:11 PM |
Strange ... It had always worked for me......
What control panel are you using? If you are using plesk you can directly enable/disable it from domain >> setup
|
Posted by chasebug, 10-11-2009, 06:52 PM |
Using cPanel.
|
Add to Favourites Print this Article
Also Read
Radius server (Views: 665)