On 10/2/07, Patrick van Kleef <vos.ad...@openlinksw.com> wrote:
> OpenLink provides a zip file with a complete build of VOS, now
> including also the binary and support libraries for php5 hosting:
>
>      http://virtuoso.openlinksw.com/wiki/main/Main/VOSDownload

Thanks, that helps indeed. However, I think the installation for
novices would be eased a lot if the archive would contain a INSTALL
document (if you like with a pointer to a web page) where the
installation is explained step by step.

I used http://virtuoso.openlinksw.com/wiki/main/Main/VOSMakeWindows as
a basic guideline and encountered the following problems:

When trying to start virtuoso-php5-t.exe it complains about not being
able to find libvirtuoso-t.dll. After copying libvirtuoso-t.dll from
lib to bin it seems to work.

The service creation somehow does not work on my machine (can that be
related to Vista?).

Where does the PHP installation come from? Does Virtuoso contain a
whole PHP distribution? If so I'm wondering why the following error
occurs:

PHP Startup: Unable to load dynamic library 'C:/Program
Files/PHP/ext/php_redland.dll' - The specified procedure could not be
found.

How does Virtuoso magically know I installed PHP in C:/Program
Files/PHP? Does it really use that one?

> Virtuoso has different binaries that support various hosting modes.
> For your project you should use the virtuoso-odbc-php5-t binary
> instead of the default virtuoso-odbc-t binary.

I did not find virtuoso-odbc-php5-t, however with virtuoso-php5-t ODBC
seems to be available as a module for PHP.

> A typical ODBC entry would have the following settings:
> [Virtuoso]
> Driver  =3D /path/to/dll
> Address =3D localhost:1111

Where should that go?
In PHP I have the following function:

odbc_connect(string $dsn, string $user, string $password)

What shall I use for $dsn? I tried different things but always get the
following error:

SQL error: [Microsoft][ODBC Driver Manager] Data source name not found
and no default driver specified, SQL state IM002 in SQLConnect

Thanks for your help!

Sören

Reply via email to