You are not logged in.
Hi, I installed drush from AUR, but it is not working. I get this error:
PHP Warning: require_once(): open_basedir restriction in effect. File(/usr/lib/drush/includes/environment.inc) is not within the allowed path(s): (/srv/http/:/home/:/tmp/:/usr/share/pear/) in /usr/lib/drush/drush.php on line 26
PHP Warning: require_once(/usr/lib/drush/includes/environment.inc): failed to open stream: Operation not permitted in /usr/lib/drush/drush.php on line 26
PHP Fatal error: require_once(): Failed opening required '/usr/lib/drush/includes/environment.inc' (include_path='.:/usr/share/pear') in /usr/lib/drush/drush.php on line 26I have installed php-pear and here is my php.ini.
Thanks in advance for any advice.
Last edited by Cosmin (2011-07-20 14:02:27)
Offline
One of the more commonly asked php questions...
http://drupal.org/node/509506
http://drupal.stackexchange.com/questio … -in-effect
Offline
One of the more commonly asked php questions...
http://drupal.org/node/509506
http://drupal.stackexchange.com/questio … -in-effect
Thank you.
The Solution is:
set open_basedir variable to NO VALUE.Offline
Add "/usr/lib/drush/" to open_basedir. I wouldn't just remove all restrictions.
Offline