New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New way to install? #465
Comments
|
What is your pear command exactly? On Friday, February 14, 2014, velvetpixel notifications@github.com wrote:
|
|
For me, root@x:~# pear channel-discover pear.drush.org root@x:~# pear install drush/drush Warning: Invalid argument supplied for foreach() in PEAR/REST/13.php on line 84 |
|
I wrote a blog post this a couple of days ago: If you want me to contribute this back into this repo let me know - seems there is a lot of confusion going around. |
|
I'm having the same problem installing drush via PEAR. Thanks for the workaround @joshuataylor. I see from #445 that the PEAR installation instructions have been removed, but can't see anywhere that states (obviously) that installation via PEAR is no longer supported at all. If installation via PEAR is not supported anymore can I suggest this is made clearer as I imagine others are going to run into this same problem. |
|
Just got bit by this too, all of a sudden our Docker builds are breaking. Googling around suggests this is happening to tons of other people too. Was it really necessary to disable the pear channel at this point? |
|
We didn't disable the pear channel yet. Pear is now deprecated, but we will keep it going for a while to give folks a time to change to composer. This issue a bug. @msonnabaum will look into it as time permits. Others are welcome to do so as well. |
|
paul$ sudo pear install drush/drush Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 305 Warning: Illegal string offset 'v' in PEAR/REST/10.php on line 350 Warning: Illegal string offset 'p' in PEAR/REST/10.php on line 352 Warning: Illegal string offset '_content' in PEAR/REST/10.php on line 352 Warning: Illegal string offset 'st' in PEAR/REST/10.php on line 353 Warning: Illegal string offset 'g' in PEAR/REST/10.php on line 359 |
|
Same Issue here. Seems pear is no longer supported. you need to install composer grab the drush git from git hub and then use composer to update everything. The instructions are in README.md in the cloned git repo. |
|
Install composer and drush (debian but should be the same for most linux's) Note: directories are up to you This was mine ... clone git somewhere create a link to drush from the bin dir install composer move it into the path and rename it get dependencies You should be ready to go |
|
pear is still supported for the current stable release. The existing channel broke because of a header change on github-pages. I moved the channel to S3 in the meantime, which appears to be working fine. |
|
Thank you for the info! |
|
👍 thanks @msonnabaum Woohoo, the following now works: |
|
Each time I need to reinstall Drush I need to chase a new way to install Drush. I hope Drush will do a comeback on Pear, unless Composer comes installed by default on MAMP stacks in the future. Thanks for keeping the current release version on Pear. But then again, I face issues with MAMP Pro 3.0.1 with Pear install. (Editing the path to the new PHP version provided by MAMP Pro solved the issue). |
|
This issue inspired me to write this 'blog post: http://mile23.com/content/some-composer-drush-tricks |
|
In Ubuntu 12.04, "pear channel-discover pear.drush.org" gives me an error saying "could not create lock file: fopen(/usr/share/php/.lock): failed to open stream: Permission denied". Any fixes for this? Thanks |
|
@leolandotan Use sudo, or use composer. |
|
@joshuataylor I got it now. I used sudo but Drush couldn't download a library because of the permission again so I just downloaded it manually and followed the instructions from Drush where to place it and works perfectly. Thank you! |
Installing drush with pear is failing. Is there now a new way to install?
The text was updated successfully, but these errors were encountered: