Hi guys. I'm fairly new to the Drupal platform, but I do have some background knowledge in other CMS platforms.

The other day, I was running install.php to load Drupal 7.2. TI didn't encounter any issues until the very end of the installation, I got the following warning, repeated 4 times:

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(C:\Windows\Temp) is not within the allowed path(s): (C:\Inetpub\vhosts\domain\httpdocs\) in file_directory_temp() (line 2449 of C:\Inetpub\vhosts\domain\httpdocs\includes\file.inc).

I can make my own assumptions as to what I "think" the issue is, but I saved this information so I could research it. I'd like to note that I haven't seen any issues with the frontend of my site.

I've done some searching to find the appropriate answer, but I haven't found anything that clearly and definitively tells me exactly what is going on, and if this is something I should be concerned about.

In addition to the above warning, here is the PHP included with line 2449 of file.inc:

Line 2448    foreach ($directories as $directory) {
Line 2449      if (is_dir($directory) && is_writable($directory)) {
Line 2450        $temporary_directory = $directory;
Line 2451        break;

Any guidance is appreciated.


jalpesh’s picture

It's look like you do not have writable permission of "files" folder in "sites/default", please provide full permission and then try to install again.

JHBaker’s picture

I inspected a little closer on my folder and file permissions found a couple of places that needed minor tweaks. Thanks jalpesh.