php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3472 iODBC-Openlink RPC Error
Submitted: 2000-02-13 05:13 UTC Modified: 2000-06-20 12:50 UTC
From: axel dot stijns at axel dot be Assigned:
Status: Closed Package: ODBC related
PHP Version: 4.0 Beta 3 OS: linux RedHat 5.2
Private report: No CVE-ID: None
 [2000-02-13 05:13 UTC] axel dot stijns at axel dot be
I've installed the Openlink driver, iODBC libraries and SDK as specified in the PHP-IODBC HOWTO (www.iodbc.org) and compiled the apache sever 1.3.11 against those (oplodbc.so.1.0.0, libiodbc.so.2.0.12, iodbc-2.0.53). I have verified these libraries with odbctest successfully. 
The apache server works well with php version 3.0.14, and odbc requests are well handled.
In case of version 4.0b3 of php, the function odbc_connect("DSN=xxx","","") returns always:
"Warning: SQL error: [OpenLink][ODBC]RPC: Unknown host, SQL state 08004 in SQLConnect in /WWW/htdocs/results_odbc.php on line 15" 
whatever could be DSN=xxx.

In both cases, here is my ./configure:
--with-mysql=/DATABASES --with-imap --with-libmcrypt --with-iodbc=/usr/local --with-openlink=/usr/local/openlink --with-apache=../apache_1.3.11 --enable-track-vars

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-20 12:50 UTC] kara at cvs dot php dot net
Should be working now
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jun 17 11:00:02 2026 UTC