Re: [PHP3] Problems with PHP3+Apache on solaris working with DB2 on a remote machine From: Rasmus Lerdorf (rasmus <email protected>)
Date: 02/29/00

> After some wrestling, I got php3 to compile fine with --with-ibm-db2, and
> all seemed to be merry. However, when I try to use db2, here's what I get:
> (php file)
> $odbc = odbc_connect("gcdb", "db2inst2", "password");
> (output)
> Warning: SQL error: , SQL state in SQLConnect in
> /usr/local/apache/htdocs/devel/working/db2test.php3 on line 2
>
> where line 2 is of course, the line above. Any wild-ass guess as to what's
> going on? More information will be happily provided as necessary, and please
> respond directly, as I'm not actually on the list....

Is your DB2_INSTANCE environment variable set in your web server's env?

-Rasmus

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>