This is built if --with-php is given to the configure line. The standard 'make' at the top level will build it.
You can also compile the PHP interface by hand as follows:
cd php make make check # optional
To install it system wide (this is optional) do this as root:
# THIS IS UNTESTED root# make install
The PHP interface has been lightly tested with PHP 4.3.3, 4.1.2 and is alpha quality - will crash and likely to change a lot.
The PHP API is an object-based API with the class names and method names flattened into PHP procedure names like this: librdf_class_method - the same names as in the underlying C API. The object references become PHP variables.
There should be an example program to test the PHP interface, but not yet.
Copyright 2002-2003 Dave Beckett, Institute for Learning and Research Technology, University of Bristol