Forum Moderators: coopster
A friend of mine keeps getting this error message when she tries to use a PHP program.
Warning: open_basedir restriction in effect. File is in wrong directory in blah blah
Anyone have any idea whats causing this message? I have a feeling I`ve come up against this in the past and it was something to do with Safe Mode being switched on, not sure now.
When a script tries to open a file with, for example, fopen or gzopen, the location of the file is checked. When the file is outside the specified directory-tree, PHP will refuse to open it. All symbolic links are resolved, so it's not possible to avoid this restriction with a symlink.
See chapter 7 of the manual for more details.