« 2012年04月 | メイン | 2012年09月 »
2012年08月15日
subversion
僕はこみっとされたらリポジトリをアパッチにアップデートさせている
post-comit にこんなかんじで書いてる。
cd /var/www/html && svn update --username hogehoge --password pasudayo > /home/svn/log 2>&1
が こんなんいわれた
-----------------------------------------------------------------------
ATTENTION! Your password for authentication realm:
can only be stored to disk unencrypted! You are advised to configure
your system so that Subversion can store passwords encrypted, if
possible. See the documentation for details.
You can avoid future appearances of this warning by setting the value
of the 'store-plaintext-passwords' option to either 'yes' or 'no' in
'/root/.subversion/servers'.
-----------------------------------------------------------------------
svn help update してごにょごにょ見てたら --no-auth-cache てのがあったので
cd /var/www/html && svn update --no-auth-cache --username hogehoge --password pasudayo > /home/svn/log 2>&1
これでうまくいった。
投稿者 muuming : 16:39 | コメント (0)
2012年08月04日
json_decodeインストールではまり
PHPのバージョンが新しければ組み込まれているが古いやつは json_decode が入ってない
pecl install json
phpize のうんたらカンタラの部分でコケる!
こけるのは作者もわかってるけど、新しいバージョンには組み込まれてるからもうメンテしねーよって感じじゃないかな?
なのでちょくでインスコ
http://pecl.php.net/package/json より
wget http://pecl.php.net/get/json-1.2.1.tgz
回答して
phpize
./configure
make
make install
あと作業として
php.iniに
extension=json.so
の行を追加
以上です