On 10/3/07, Mitko Iliev <imi...@openlinksw.co.uk> wrote: > To the basic installation steps from > http://virtuoso.openlinksw.com/wiki/main/Main/VOSUsageWindows could be > added following in regard to Virtuoso with PHP hosting : > > The PATH variable in the system wide environment must have : > > <Virtuoso dir>\bin;<Virtuoso dir>\lib;<REST of the PATH>
Ok - maybe you can add a note that the lib directory has to be added to the path as well to VOSUsageWindows - I think this would help beginners a lot, since I guess most won't figure out what's the problem. > First you need to register the Virtuoso ODBC driver as described in > http://virtuoso.openlinksw.com/wiki/main/Main/VOSUsageWindows. > Then you use the ODBC Administrator via Control panel : Administrative > tools -> ODBC datasources to setup a DSN . Can use the document > http://docs.openlinksw.com/virtuoso/odbcimplementation.html#virtdsnsetup > , just read in point 5. "Select Driver named "Virtuoso (Open Source)". > Note for the port value you use 1111 or 1112 depending where you started > the Virtuoso server instance, the 1111 is set for > <install>var\lib\virtuoso\db > the other is for var\lib\virtuoso\demo , can check the ServerPort in > Parameters section of the relevant INI file in server working directory . Ok - that works now as well - I tried it before but was not successful (maybe related to the path problem). > In the odbc_connect you should use for $dsn the name you entered in the > driver setup done in above steps. Thanks a lot - that was really the final pitfall. I'm very excited I got Virtuoso running with PHP :-) I read in the documentation about the in-process ODBC communication - I guess this will speed up things a little more. I tried different variations of adding "HOST=:in-process:1111" to the DSN but was not successful - what's the precise syntax here? Thanks a lot for your suppot Sören