I added a putenv to the php page,
putenv(“CONNXREGISTRY=/home/connx/connxreg.db”);
and the error changes to,
Warning: odbc_connect() [function.odbc-connect]: SQL error: [unixODBC]Creation of Information Schema failed. CDD probably locked by another user., SQL state 08001 in SQLConnect in /usr/apache/htdocs/test2.php on line 15
couldn’t connect
I have no idea why the cdd file would be locked. Perhaps this is indicative of a different problem?