Page 1 of 1

open_basedir restriction in effect

Posted: Tue May 30, 2006 7:02 pm
by Mtnclimbers
this is what I get when I do an opendir('images'). Any help would be greatly appericiated.

Posted: Wed May 31, 2006 2:14 am
by Ollie Saunders
First read about open_basedir on the php manual.

Then understand that you need to modify PHP.ini to correct the problem. If you can't modify PHP use an .htaccess to override it:

Code: Select all

php_value open_basedir = /absolute/path/to/your/basedir/
anyone else: is that .htaccess syntax correct?