Help - Search - Members - Calendar
Full Version: safe_mode off for a site only
The Planet Forums > Control Panels > cPanel/WHM
Wako
My server is safe_mode on server wide. How do I turn it off for one domain only, the rest still on until doing the same tweak just like this particular domain? I am on cpanel.
ohvhost
edit httpd.conf for the site you want and add this its virtual server section

(change USERNAME and the "....." part to include additional directories you want to allow access via open_basedir mod)


php_admin_value open_basedir "/home/USERNAME:/usr/local/lib:/usr/lib/php....."
php_admin_value safe_mode off
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.