How the heck to disable openbasedir ?

darkus

Verified User
Joined
Dec 15, 2005
Messages
129
Hey everyone, good morning!

So I'm having a hell of a time disabling open_basedir.

I'm running the latest DA with PHP 5.2.5 and apache 2.2.8

I goto the file editor, found the open_basedir line in the php.ini file which is currently set to

; open_basedir, if set, limits all file operations to the defined directory
; and below. This directive makes most sense if used in a per-directory
; or per-virtualhost web server configuration file. This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.
open_basedir =

I then placed a semi-colon in front of the 'open_basedir =' line, restarted apache, but it has no effect and open basedir restrictions are still in effect...

I took a look at my php.ini file and i see this


open_basedir Local Value --> /home/admin/:/tmp:/usr/local/lib/php/ Master Value --> no value

any ideas ?
 
Hah a minute after posting this I found the solution..

For anyone else having this problem, just click on PHP Safemode in the DA control panel and you can control open basedir from in there with a click of the mouse.

Problem solved!
 
Man o man.... I was looking for this simple solution for hours....

I moved a few sites from a php4 to a php5 server and was not aware of the DA functions on Safemode and open basedir...

thx!!!!
 
Back
Top