Thanks for your help Tim.
I still didn't succeed. Could you verify the steps I took and see if I'm missing anything:

sudo su
Downloaded iodbc latest version
./configure --prefix=/opt/lib/iODBC
make
make install
Downloaded php-5.2.10
./configure --prefix=/opt/lib/php5 --enable-maintainer-zts --with-tsrm-pt…
…hreads --enable-embed=shared --disable-static --with-config-file-path=. --disa… …ble-cgi --disable-cli --disable-ipv6 --disable-pdo --without-mysql --without-p…
…ear --with-zlib --with-iodbc=/opt/lib/iODBC
make
make install
Downloaded virtuoso-opensource-6.0.0-tp1
./configure --prefix=/opt/virtuoso-opensource-6.0.0-tp1 --with-readline=/u…
…sr/lib/libreadline.so --with-php5=/opt/lib/php5
make
make install

I could not find a file called hosting_php.so anywhere, what could I be doing wrong?
If needed, I could also provide the compile logs.
Furthermore, I tried the debian package by Will Daniels, but it seems to come without php
Do you think it would be better to try with Virtuoso 5.0.11 ?

Thanks for your help,
Sebastian, AKSW



Tim Haynes schrieb:
Sebastian Hellmann wrote:
Hi all,
I'm currently analising the structure of Virtuoso, PHP and VAD,
because I'm trying to create an OntoWiki VAD.

My problem is that I could not locate hosting_php.so

Specs:
Ubuntu 9.04, I compiled it myself, standard options.
I tried version 6.0-tp1 and also 5.011

13:27:46 { Loading plugin 7: Type `Hosting', file `hosting_php.so' in `/opt/virtuoso-opensource-6.0.0-tp1/lib/virtuoso/hosting'
13:27:46   FAILED  plugin 7: Unable to locate file }

I used "find . | grep hosting_php", but could not find it anywhere.
Should it not be created automatically?

You need to specify
./configure --with-php5=/usr/local/php5
so it finds a version of php5 which was built with the correct options.

I've just updated the documentation at http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VOSBldPHP (note: our required options for building PHP5 have changed a bit) and will be adding a more comprehensive document on Virtuoso+PHP shortly.

As a second issue. I tried to analyze the mediawiki_fs.vad .
It would be nice to see be able to see the inside and the VAD ticket to reuse it. Is the source of the VAD for it or another php project like phpBB or Wordpress available.

There's a Tutorial on PHP hosting that incorporates a WebCalendar project:
http://demo.openlinksw.com/tutorial/hosting/ho_s_30/ho_s_30.vsp
http://localhost:8890/tutorial/hosting/ho_s_30/ho_s_30.vsp
then have a rummage around in binsrc/tutorial/hosting/ especially
binsrc/tutorial/hosting/ho_s_30/WebCalendar/

HTH,

~Tim


Reply via email to