さくら@スタンダードプランでの備忘録。
大まかには、さくらでpearインストール覚書に書かれてあるとおり実行すれば問題ない。php.ini へのinclude_pathの設定*1 や .cshrc へのpathの設定*2 を終えたら早速インストール後にSSHでログイン。
ただ、勇み足でpear install --alldeps Services_Hatena-alphaなどとしてもCannot install, php_dir for channel "pear.php.net" is not writeable by the current userと怒られてショボーン。
これはpear channel-update pear.php.netとおまじないをかければ大丈夫らしい。
ただ、pear config-showすると分かるけども、このままではダウンロードディレクトリ (download_dir) が/tmpらへんになってて、1ユーザー権限では書き込めないのでインストールなどで身動きがとれない。
なので、pear config-set download_dir home/*USER*/pear/temp/downloadとしてパスを修正。一応、temp_dirもpear config-set temp_dir home/*USER*/pear/tempとしておく。
一応、これでうまくいきました。
include_path=".:/home/*USER*/pear/PEAR"[戻る]set path = ($HOME/pear/bin /sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin $HOME/bin)[戻る]
- キーワード:




読者のコメント
2件