Page 1 of 1

Open Basedir

Posted: Tue Jun 03, 2003 6:58 pm
by Jim
How do I turn open_basedir off in PHP.ini?

I have it set as:


; 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.
;
;open_basedir = Off

But it doesn't work... I still get an error that says it is in effect.

HOW DO I FIX THIS?!?!? *tears hair out*

Thanks all!

-Jim

Posted: Wed Jun 04, 2003 12:23 am
by Doolittle
Take out the ";" right before it, thats commenting it out :wink:

Posted: Wed Jun 04, 2003 7:20 am
by delorian
Updating previous reply: set it to ON also :D

Posted: Wed Jun 04, 2003 7:47 am
by twigletmac
If open_basedir is commented out then it should be disabled. Are you sure you're editing the right php.ini? What does:

Code: Select all

<?php phpinfo(); ?>
tell you?

Mac