RE: [PHP-DEV] PHP 4.0 Bug #3472: iODBC-Openlink RPC Error

From: Date: Sun, 13 Feb 2000 23:55:14 +0000
Subject: RE: [PHP-DEV] PHP 4.0 Bug #3472: iODBC-Openlink RPC Error
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-15509@lists.php.net to get a copy of this message
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 1) send us your odbc.ini 2) verify that you have .odbc.ini in $HOME, sometimes iODBC returns wired errors when it can read odbc.ini, and driver cannot, or they are reading different files. Remember, this is still driver dependent and not all of them read $ODBCINI at all. 3) did you execute odbctest as same user as the httpd is running as, and from the same environment? Do you have $ODBCINI in httpd env? 4) Please don't tell us you are using iODBC 3 beta. If you do, contact maintainer for update, or downgrade to stabile release. 5) Why do you thing this have anything to do with PHP? Yours, Andrej Falout, http://www.falout.com ICQ 7628616 ++64 21 607517 #--------------------------------------------------------------------- globals "std_disclaimer.4gl" "Thank you. Have a nice day" - 4Js CLI-HTML error message > -----Original Message----- > From: axel.stijns@axel.be [mailto:axel.stijns@axel.be] > Sent: Sunday, 13 February 2000 17:13 > To: php-dev@lists.php.net > Subject: [PHP-DEV] PHP 4.0 Bug #3472: iODBC-Openlink RPC Error > > > 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 > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.0.2i iQA/AwUBOKabjBZH34ibpTRkEQKBRgCgtm83EsoqQONASB1IlookfndUA2cAoIE1 wgUrcceqacAmTBNYhbqy7Yvz =zl2o -----END PGP SIGNATURE-----

« previous php.dev (#15509) next »