Open_basedir issue
| Project: | Drush |
| Version: | All-Versions-HEAD |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
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
Try to set open_basedir variable to NO VALUE.