Redland - RDF Application Framework - PHP Interface

Installing the Redland PHP interface

This is not automatically built or installed when Redland is compled. You can build it by hand as follows

  cd php
  make build-php
  make test-php   # optional

To install it system wide (this is optional) do this as root:

  # THIS IS UNTESTED
  root# make install-php

The PHP interface has been lightly tested with PHP 4.1.2 and is alpha quality - will crash and likely to change a lot.

Redland PHP API Introduction

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.

Testing the Redland PHP interface

There should be an example program to test the PHP interface, but not yet.

Other RDF PHP APIs and applications


Copyright 2002-2003 Dave Beckett, Institute for Learning and Research Technology, University of Bristol