1
経由でCASをインストールしようとしたとき、私はPEAR 最新の安定版(現在1.3.4)ではPHP CAS as described on their websitephp_network_getaddressエラーPEAR
をインストールする手順以下のよ:新しい
をインストールする をpear install https://developer.jasig.org/cas-clients/php/current.tgz
しかし、私はこのエラーを取得する
$> sudo pear install https://developer.jasig.org/cas-clients/php/current.tgz
downloading current.tgz ...
Starting to download current.tgz (96,108 bytes)
.....................done: 96,108 bytes
Connection to `__uri:443' failed: php_network_getaddresses: getaddrinfo failed: Name or service not known
私はいくつかのグーグルを行い、PEARに関してはphp_network_getaddresses
について何も見つかりませんでした。
マイカールまたは(PEARが使用する方)wgetのライブラリは罰金だ:
$> wget https://developer.jasig.org/cas-clients/php/current.tgz
--2017-01-31 21:13:12-- https://developer.jasig.org/cas-clients/php/current.tgz
Resolving developer.jasig.org (developer.jasig.org)... 199.119.127.181
Connecting to developer.jasig.org (developer.jasig.org)|199.119.127.181|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 96108 (94K) [application/x-gzip]
Saving to: ‘current.tgz’
100%[=====================================================================================================================================================================>] 96,108 537KB/s in 0.2s
2017-01-31 21:13:13 (537 KB/s) - ‘current.tgz’ saved [96108/96108]
$> curl -O https://developer.jasig.org/cas-clients/php/current.tgz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 96108 100 96108 0 0 104k 0 --:--:-- --:--:-- --:--:-- 104k
どのように私は、このエラーのトラブルシューティングを行うことができますか?
$> pear -V
PEAR Version: 1.10.1
PHP Version: 5.6.29
Zend Engine Version: 2.6.0
Running on: Linux hostname 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19 22:10:57 UTC 2015 x86_64