Changes between Version 5 and Version 6 of waue/2011/1107


Ignore:
Timestamp:
Nov 8, 2011, 4:08:52 PM (13 years ago)
Author:
waue
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • waue/2011/1107

    v5 v6  
    4040sudo make install
    4141
     42}}}
    4243
     44 接著 lib/ 下就有各式各樣語言的資料夾,找到 lib/php/README
     45{{{
     46#!text
     47#1) Copy all of thrift/lib/php/src into your PHP codebase
     48#2) Set $GLOBALS['THRIFT_ROOT'] to the path you installed Thrift
     49#3) include_once $GLOBALS['THRIFT_ROOT'].'/Thrift.php';
     50}}}
    4351
    44 }}}
     52$GLOBALS['THRIFT_ROOT']="/opt/cassandra-1.0.1/thrift-0.7.0/lib/php/src"