Re: can i use --with-unixODBC instead of --with-ibm-db2?
| From: | Matt | Date: | Thu, 08 Aug 2002 16:26:06 +0000 |
| Subject: | Re: can i use --with-unixODBC instead of --with-ibm-db2? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-111678@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: "Doug Smith" <doug.smith@nth-dimension.com>
To: <php-general@lists.php.net>
Sent: Thursday, August 08, 2002 11:21 AM
Subject: Re: [PHP] can i use --with-unixODBC instead of --with-ibm-db2?
> Matt,
>
> Thanks for the links to the docs, it may or may not surprise you, but,
> i've actually seen your document before :)
>
> The specific problem I had is the one you describe as "The symptoms of
> this problem is a php error message stating "odbc_connect failed for
reason
> %%$%" (where %%$% is some random gibberish)." And I tried your
> suggestion of adding ". /home/db2inst1/sqllib/db2profile" to my
> /etc/rc.d/init.d/httpd -- but, still get the same error after ./httpd
> restart'ing.....
I just checked my config, and I *actually* have that line in apachectl. Try
that, and if it fixes it, I'll correct the doc.