Amazon ElastiCacheのノードリストをPHPで取得する
http://aws.amazon.com/jp/sdkforphp/
手順はこちら
http://pear.amazonwebservices.com/
$ sudo pear channel-discover pear.amazonwebservices.com Channel "pear.amazonwebservices.com" is already initialized $ sudo pear remote-list -c aws Channel aws Available packages: =============================== Package Version sdk 1.5.0.1 $ sudo pear install aws/sdk aws/sdk is already installed and is the same as the released version 1.5.0.1 install failed
セットアップ
こっちみながら書く http://aws.amazon.com/articles/4261?_encoding=UTF8&jiveRedirect=1#installthesdk
$ cd /usr $ find -name "config-sample.inc.php" ./share/pear/AWSSDKforPHP/config-sample.inc.php $ cd /usr/share/pear/AWSSDKforPHP $ sudo cp config-sample.inc.php config.inc.php っと、こっちじゃない。 $ mkdir -p ~/.aws/sdk $ cd ~/.aws/sdk $ wget https://raw.github.com/amazonwebservices/aws-sdk-for-php/master/config-sample.inc.php $ cp config-sample.inc.php config.inc.php $ vi config.inc.php あと、includepathをごにょ。。。
http://docs.amazonwebservices.com/AWSSDKforPHP/latest/