Open_basedir issue

SocialNicheGuru - July 3, 2009 - 16:29
Project:Drush
Version:All-Versions-HEAD
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

file_exists(): open_basedir restriction in effect. [warning]
File(/etc/drush/drushrc.php) is not within the allowed path(s):
(/var/www/vhosts/:/tmp:/usr/local/bin:/usr/bin)
is_dir(): open_basedir restriction in effect. [warning]
File(/usr/share/drush/commands) is not within the allowed path(s):
(/var/www/vhosts/:/tmp:/usr/local/bin:/usr/bin)
file_exists(): open_basedir restriction in effect. [warning]
File(/var/www/settings.php) is not within the allowed path(s):
(/var/www/vhosts/:/tmp:/usr/local/bin:/usr/bin)
file_exists(): open_basedir restriction in effect. [warning]
File(/var/settings.php) is not within the allowed path(s):
(/var/www/vhosts/:/tmp:/usr/local/bin:/usr/bin)

How do I get around this?
Why is it calling for /var/www/settings.php or /var/settings.php

Thanks,
Chris

#1

ardas - October 2, 2009 - 15:12

Try to set open_basedir variable to NO VALUE.

 
 

Drupal is a registered trademark of Dries Buytaert.