Skip to content
Newer
Older
100644 52 lines (32 sloc) 801 Bytes
35e77b0 @janl init
janl authored
1 # ext/couchbase
2
3 A PHP extension wrapping libcouchbase.
4
c7fa951 @janl update readme with install and usage instructions
janl authored
5 ## Dependencies
6
7 libcouchbase
8
9 ## Installation
10
11 $ phpize
e6aa1dc @janl s/tabs/spaces/ in README
janl authored
12 $ ./configure
13 $ make
33b15ba @trondn Fix line wrapping in README.md
trondn authored
14 $ make test
e6aa1dc @janl s/tabs/spaces/ in README
janl authored
15 $ make install
c7fa951 @janl update readme with install and usage instructions
janl authored
16
33b15ba @trondn Fix line wrapping in README.md
trondn authored
17 Running make test assumes that you have a Couchbase server listening
18 on port 127.0.0.1:8091
19
20 If you are using a webserver installation of PHP, you might need to
21 restart your webserver.
c7fa951 @janl update readme with install and usage instructions
janl authored
22
23 ## First Step
24
25 Create a new script `test.php`:
26
27 <?php
33b15ba @trondn Fix line wrapping in README.md
trondn authored
28 $cb = new Couchbase("127.0.0.1:8091", "Administrator",
29 "password", "default");
e6aa1dc @janl s/tabs/spaces/ in README
janl authored
30 $cb->set("a", 1);
31 $a = $cb->get("a");
32 echo $a;
33 ?>
c7fa951 @janl update readme with install and usage instructions
janl authored
34
64a259a @janl add compat notice
janl authored
35 # Compatibility
36
37 PHP 5.2.9 or later.
38
39 Windows support is coming in the next release.
40
c7fa951 @janl update readme with install and usage instructions
janl authored
41 ## License
42
43 Apache License 2.0
44
45 ## Credits
46
661604a @janl remove EXPERIMENTAL update Credits comment in README
janl authored
47 See CREDITS file. Thanks all!
c7fa951 @janl update readme with install and usage instructions
janl authored
48
49 ## Copyright
50
51 (c) 2011, 2012 Couchbase
Something went wrong with that request. Please try again.