PHPスクリプト/PEAR DBインストールできない のバックアップの現在との差分(No.0)
- 追加された行はこの色です。
- 削除された行はこの色です。
*PEAR DBがインストールできない。 [#a6eea7d2]
[[dokuwiki.fl8.jp掲載済>http://dokuwiki.fl8.jp/11_php/04_library/06_can_not_install_pear_db]]
**こんなエラーが [#na667a3c]
チャンネルファイルが壊れてしまっているらしい。。。
# pear install DB
pear.php.net is using a unsupported protocal - This should never happen.
install failed
**対処 [#pc64ecfb]
# cd `pear config-get php_dir`
# mv .channels .channels-broken
# pear update-channels
Updating channel "doc.php.net"
Update of Channel "doc.php.net" succeeded
Updating channel "pear.php.net"
Update of Channel "pear.php.net" succeeded
Updating channel "pecl.php.net"
Update of Channel "pecl.php.net" succeeded
**再度インストール [#z45c3a78]
# pear install DB
WARNING: "pear/DB" is deprecated in favor of "pear/MDB2"
downloading DB-1.7.13.tgz ...
Starting to download DB-1.7.13.tgz (132,246 bytes)
.........done: 132,246 bytes
install ok: channel://pear.php.net/DB-1.7.13