Drush Open_BaseDir Error I keep getting the following error, although I've turned off SafeMode in my .ini file, and confirmed it's off with a PHP status page.


  The following restricted PHP modes have non-empty values:
      open_basedir. This configuration is incompatible with drush.  Please
      check your configuration settings in
      /usr/local/php-5.2.17/etc/php.ini or in your drush.ini file;



safe_mode            Off        Off
memory_limit        168M       168M
open_basedir    no value   no value


UPDATE:
I think it's worth noting that this is on MediaTemple's Grid Service (gs). It looks like the PHP CLI is actually using a different .ini file with open_basedir set. So I'm still trying to figure that part out.
My solution was to add this line to my .bash_profile

alias drush='/usr/bin/php5 -c /home/000000/etc/drush.ini ~/bin/drush/drush.php'


It turns out the CLI on MediaTemples Grid Service uses a different PHP.ini file. So that line basically tells it to find your drush.ini file to override some settings. Make sure to replace the 000000 in with your server number. Thanks to kiamlaluno and MediaTemples support folks for the help.