|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-06-20 12:50 UTC] kara at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Jun 17 11:00:02 2026 UTC |
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