close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_fs.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Nov 8, 2011, 4:08:52 PM (14 years ago)
- Author:
-
waue
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v5
|
v6
|
|
| 40 | 40 | sudo make install |
| 41 | 41 | |
| | 42 | }}} |
| 42 | 43 | |
| | 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 | }}} |
| 43 | 51 | |
| 44 | | }}} |
| | 52 | $GLOBALS['THRIFT_ROOT']="/opt/cassandra-1.0.1/thrift-0.7.0/lib/php/src" |