-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathREADME
More file actions
46 lines (28 loc) · 831 Bytes
/
README
File metadata and controls
46 lines (28 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
HACKING
=======
1) you can modify the generated code as with any other PHP extension
BUILDING ON UNIX etc.
=====================
To compile your new extension, you will have to execute the following steps:
1. $ ./phpize
2. $ ./configure
3. $ make
4. $ make test
5. $ [sudo] make install
BUILDING ON WINDOWS
===================
No windows build is available at the moment
TESTING
=======
You can now load the extension using a php.ini directive
extension="couchdb.so"
or load it at runtime using the dl() function
dl("couchdb.so");
The extension should now be available, you can test this
using the extension_loaded() function:
if (extension_loaded("couchdb"))
echo "couchdb loaded :)";
else
echo "something is wrong :(";
The extension will also add its own block to the output
of phpinfo();