note 59413 added to function.odbc-connect
| From: | gekkeprutser at gmail dot com | Date: | Tue, 06 Dec 2005 14:35:55 +0000 |
| Subject: | note 59413 added to function.odbc-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-99630@lists.php.net to get a copy of this message | ||
I also had a problem with this message: ([ODBC SQL Server driver]Allocation of a Sybase Open Client
Context failed). The message only appeared after the server had run for a few hours, so I expected
resource starvation. However it was a settings problem and I thought this might benefit others too.
In addition to putting a <?php putenv ("SYBASE=c:\sybase"); ?> as described by
oottavi above, I also had so specify a locale by setting <?php putenv
("LC_ALL=default"); ?>.
Even though my locale was already set to a valid one (en_US) I had to set this environment variable
to make it work anyhow.
----
Manual Page -- http://www.php.net/manual/en/function.odbc-connect.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+59413
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+59413&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+59413&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+59413&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+59413&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+59413&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+59413&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+59413&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+59413&report=yes
Search -- http://master.php.net/manage/user-notes.php