Msg#: 4013817 posted 10:09 pm on Oct 26, 2009 (gmt 0)
We are trying to install a third party app that uses php. However, I am getting this warning when I try to run the file that checks to make sure everything is ok. Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(c:\path\sessiontemp) is not within the allowed path(s): (e:\Websites\pathToMySite) in e:\Websites\pathToMySite\www\check.php on line 39. I should note that we have multiple sites that have been created by hosting controller. They all point to a path that is something like e:\websites\somesite\www or e:\websites\somesite2\www. I edited the php.ini file to set the open_base dir to c:\path\sessiontemp and I know that folder exists. What am I doing wrong? Thanks,
Msg#: 4013817 posted 9:01 pm on Oct 27, 2009 (gmt 0)
Sorry Andrew, the only time I ever encounter these is when I'm trying to write to a path that . . . is not writable, either by owner permissions, directory permissions, or server configuration. I'm sure you checked that too.
Msg#: 4013817 posted 9:55 pm on Oct 27, 2009 (gmt 0)
Yes, I am going crazy on this one. I had even set the permissions to everyone full control for a while to see if that would fix it and it didn't. What bothers me is it is just a warning. The third party app seems to be working fine even though this error happens so I may end up just crossing my fingers.