You are here:
/ Dashboard / Main / VOSBldPHP

DE3A857A5FFB11DA923AF0924C194AED Cluster Main

Building Virtuoso with PHP4 Hosting Support

Version Supported

The Virtuoso server with PHP hosting is compatible with PHP library versions 4.2.x and above.

Building the PHP library

The PHP library (libphp4.so) should be compiled with following options:


./configure  --prefix=[DIR] --with-iodbc --with-tsrm-pthreads --enable-experimental-zts --enable-embed=shared

To enable PHP support in Virtuoso server the following config switch must be used:


./configure --enable-php=[DIR] ...more flags may follow...

Testing the PHP Extension

To run the PHP test-suite, execute the following commands:


cd <top>/binsrc/hosting/php4/tests
export LD_LIBRARY_FLAGS=[php install dir]/lib
./tphpsrv.sh

Virtuoso and the Virtuoso Website are Copyright (C) OpenLink Software 2006-
SourceForge.net Logo