note 29924 added to function.odbc-connect
| From: | jeremy at rack1 dot php dot net | Date: | Fri, 28 Feb 2003 20:20:32 +0000 |
| Subject: | note 29924 added to function.odbc-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-44675@lists.php.net to get a copy of this message | ||
here's a quick note about using php and db2 that cost me a couple of hours and several
recompiles trying to figure out why it didn't work.
put the below line in any script
putenv("DB2INSTANCE=db2inst1");
Or, set that in your webserver environment somehow.
--
http://www.php.net/manual/en/function.odbc-connect.php
http://master.php.net/manage/user-notes.php?action=edit+29924
http://master.php.net/manage/user-notes.php?action=delete+29924
http://master.php.net/manage/user-notes.php?action=reject+29924