open_basedir restriction in effect
Moderator: General Moderators
-
Mtnclimbers
- Forum Newbie
- Posts: 1
- Joined: Tue May 30, 2006 6:57 pm
open_basedir restriction in effect
this is what I get when I do an opendir('images'). Any help would be greatly appericiated.
- Ollie Saunders
- DevNet Master
- Posts: 3179
- Joined: Tue May 24, 2005 6:01 pm
- Location: UK
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:
anyone else: is that .htaccess syntax correct?
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/