移行させているのですが、「あ、xdebug入れてない」と思って、導入開始しました。
たしか、peclかなんかのコマンドで行けるんじゃなかったっけ?
と思って、pearコマンドでインストール開始。
でも、xdebugとは別に以下のエラーが出てしまいました。
pear.php.net is using a unsupported protocal - This should never happen.
これはインストール以前の問題ですね。
プロトコルアンサポート・・・
とりあえずチャンネルを更新しようとおもって、以下のコマンド実行
# pear update-channels
Updating channel "doc.php.net"
Channel "doc.php.net" is up to date
Updating channel "pear.php.net"
Channel "pear.php.net" is up to date
Updating channel "pecl.php.net"
Channel "pecl.php.net" is up to date
あれ、こんなんだっけ?
再度、xdebugインストール実行
# pear install xdebug
pear.php.net is using a unsupported protocal - This should never happen.
install failed
だめだ・・・
それでエラーコードを検索していたら、pearのblogで原因判明!
http://blog.pear.php.net/2009/08/28/fixing-unsupported-protocol/
5.2.10と5.2.11が対象って書いてあるけど、5.3.0も対象ね。
以下、pearのblogより抜粋で実行
# cd `pear config-get php_dir`
# mv .channels .channels-broken
# pear update-channels
どうにもチャンネルデータが壊れているので、消して(もしくは移動して)再取得すればいいみたい。
3行目の「pear update-channels」でチャンネルデータ再取得でok
うちは、タイムゾーンの設定不備で以下のエラーも出ちゃったけど、チャンネル更新はok
Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Tokyo' for 'JST/9.0/no DST' instead in PEAR/Registry.php on line 930
PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Tokyo' for 'JST/9.0/no DST' instead in /usr/share/php5/PEAR/PEAR/Registry.php on line 930
Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Tokyo' for 'JST/9.0/no DST' instead in PEAR/Registry.php on line 930
PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Tokyo' for 'JST/9.0/no DST' instead in /usr/share/php5/PEAR/PEAR/Registry.php on line 930
Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Tokyo' for 'JST/9.0/no DST' instead in PEAR/Registry.php on line 930
PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Tokyo' for 'JST/9.0/no DST' instead in /usr/share/php5/PEAR/PEAR/Registry.php on line 930
Updating channel "pear.php.net"
Update of Channel "pear.php.net" succeeded
Updating channel "pecl.php.net"
Update of Channel "pecl.php.net" succeeded
succeededってでてるのでok
今度こそxdebugインストール!
# pear install xdebug
No releases available for package "pear.php.net/xdebug" - package pecl/xdebug can be installed with "pecl install xdebug"
install failed
peclでやれと・・・
0 コメント:
コメントを投稿