PHPスクリプト/PEAR DBインストールできない のバックアップの現在との差分(No.0)
PEAR DBがインストールできない。 †
dokuwiki.fl8.jp掲載済
こんなエラーが †
チャンネルファイルが壊れてしまっているらしい。。。
# pear install DB
pear.php.net is using a unsupported protocal - This should never happen.
install failed
対処 †
# 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
再度インストール †
# 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