PHP 4.0 Bug #3472: iODBC-Openlink RPC Error
| From: | axel dot stijns at axel dot be | Date: | Sun, 13 Feb 2000 04:13:28 +0000 |
| Subject: | PHP 4.0 Bug #3472: iODBC-Openlink RPC Error | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-15482@lists.php.net to get a copy of this message | ||
From: axel.stijns@axel.be
Operating system: linux RedHat 5.2
PHP version: 4.0 Beta 3
PHP Bug Type: ODBC related
Bug description: iODBC-Openlink RPC Error
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