facebook/hiphop-php — Issue #413: odbc_connect: not implemented?
Author: qcbw
Created: 2011-10-18 06:30:38+00:00
State: open

I'm trying to compile an application that talks to Virtuoso without any luck. After some work, I can get it to compile but it generates a fatal run-time error.

A test case for the error is as follows:
Use the odbc configuration as documented here: http://code.google.com/p/ontowiki/wiki/UsingOntoWikiWithVirtuoso

Create the test file as described in the linked page:

Testing this file in a browser or with PHP CLI works fine and gives the expected result.

Either compile with hphp and run the compiled file or use hphpi and the following error occurs:
HipHop Fatal error: (1) call the function without enough arguments OR (2) Unable to find function "odbc_connect" OR (3) function was not in invoke table OR (4) function was renamed to something else. in /var/www/drupal/odbctest.php on line 2

Is this because odbc isn't implemented or is there another explanation?

My hiphop build used the Ubuntu 10.04LTS instructions in the wiki.