2 This php module can be configured and built to run standalone
3 or in the context of the mod_db4 Apache module (Apache 1.3.* only).
4 These configurations are not interchangeable.
6 *** A note about pthreads ***
7 The db4 c++ library by default tries to link against libpthread on some
8 systems (notably Linux). If your PHP install is not linked against
9 libpthread, you will need to disable pthread support in db4. This can
10 be done by compiling db4 with the flag --with-mutex=x86/gcc-assembly.
11 PHP can itself be forced to link against libpthread either by manually
13 its build files (which some distributions do), or by building it with
14 --with-experimental-zts.
16 To install this php module linked against the mod_db4 framework,
17 execute the following steps:
20 > ./configure --with-db4[=/path/to/db4]
21 --with-mod_db4=$APACHE_INCLUDEDIR
26 Then in your php.ini file add:
30 This extension will now ONLY run in a SAPI linked into Apache httpd
31 (mod_php4, most likely), and will take advantage of all of it's
32 auto-recovery and handle-caching facilities.
35 To install this php module linked against db-4.2 and NOT the mod_db4
37 execute the following steps:
40 > ./configure --with-db4[=/path/to/db4]
45 Then in your php.ini file add: