InMotion Hosting Support Center

I can not install DRUSH using PEAR

Category: Drupal 7

psifneos
Asked:
2016-04-23 1:07 am EST

Hits: 1,029

Givea this error:

sifneo5@sifneos.com [~]# pear channel-discover pear.drush.org
Discovering channel pear.drush.org over http:// failed with message: channel-add: Cannot open "http://pear.drush.org/channel.xml" (Connection to `pear.drush.org:80' failed: php_network_getaddresses: getaddrinfo failed: Name or service not known)
Trying to discover channel pear.drush.org over https:// instead
Discovery of channel "pear.drush.org" failed (channel-add: Cannot open "https://pear.drush.org/channel.xml" (Connection to `pear.drush.org:443' failed: php_network_getaddresses: getaddrinfo failed: Name or service not known))

This is my configuration:

Configuration (channel pear.php.net):
=====================================
Auto-discover new Channels auto_discover <not set>
Default Channel default_channel pear.php.net
HTTP Proxy Server Address http_proxy <not set>
PEAR server [DEPRECATED] master_server pear.php.net
Default Channel Mirror preferred_mirror pear.php.net
Remote Configuration File remote_config <not set>
PEAR executables directory bin_dir /home/sifneo5/bin
PEAR documentation directory doc_dir /home/sifneo5/php/docs
PHP extension directory ext_dir /home/sifneo5/php/ext
PEAR directory php_dir /home/sifneo5/php
PEAR Installer cache directory cache_dir /home/sifneo5/tmp/pear/cache
PEAR configuration file cfg_dir /usr/local/lib/php/cfg
directory
PEAR data directory data_dir /home/sifneo5/php/data
PEAR Installer download download_dir /home/sifneo5/tmp/pear/cache
directory
Systems manpage files man_dir /usr/local/php/man
directory
PEAR metadata directory metadata_dir <not set>
PHP CLI/CGI binary php_bin /usr/local/bin/php
php.ini location php_ini /usr/local/lib/php.ini
--program-prefix passed to php_prefix <not set>
PHP's ./configure
--program-suffix passed to php_suffix <not set>
PHP's ./configure
PEAR Installer temp directory temp_dir /home/sifneo5/tmp/pear
PEAR test directory test_dir /home/sifneo5/php/tests
PEAR www files directory www_dir /usr/local/lib/php/htdocs
Cache TimeToLive cache_ttl 3600
Preferred Package State preferred_state stable
Unix file mask umask 22
Debug Log Level verbose 1
PEAR password (for password <not set>
maintainers)
Signature Handling Program sig_bin /usr/bin/gpg
Signature Key Directory sig_keydir /usr/local/etc/pearkeys
Signature Key Id sig_keyid <not set>
Package Signature Type sig_type gpg
PEAR username (for username <not set>
maintainers)
User Configuration File Filename /home/sifneo5/.pearrc
System Configuration File Filename /usr/local/etc/pear.conf
sifneo5@sifneos.com [~]#

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

scott
Staff
43,761 Points
2016-04-25 9:29 am EST
Hello psifneos,

Sorry to hear you are having trouble with installing Drush via PEAR. Have you tried installing Drush with Composer? This should get it installed on your server and have you ready to go.

Kindest Regards,
Scott M

You must login before you can post a comment about this answer.

Like this Question?

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

Need more Help?

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!