Getting errors while installing Drush using pear command???

February 15, 2014 2.4k views
here's the error: Notice: Array to string conversion in PEAR/REST/13.php on line 80 PHP Notice: Array to string conversion in /usr/share/php/PEAR/REST/13.php on line 80 Warning: Invalid argument supplied for foreach() in PEAR/REST/13.php on line 84 PHP Warning: Invalid argument supplied for foreach() in /usr/share/php/PEAR/REST/13.php on line 84 PHP Fatal error: Cannot use string offset as an array in /usr/share/php/PEAR/REST/10.php on line 263
1 Answer
Apparently you're no longer supposed to install drush via pear, but via composer. See https://github.com/drush-ops/drush/issues/465
Have another answer? Share your knowledge.