Wako
Jan 19 2004, 11:28 PM
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
Jan 20 2004, 12:02 AM
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