A quick and easy check is this:
Once logged in as root do an 'su - db2inst1'
The '-' is ins mandatory to get the dbinst profile
Once there, do a 'su' with no '-' to keep the db2inst profile.
Then stop and start apache.
Dan


-----Original Message-----
From: Jerry [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 07, 2002 6:10 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP and IBM DB2 / odbc_connect failed


Which version of Apache did you installed to solve the problem ?


"Alexander Weber" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Jerry wrote:
> > I have IBM DB2 v7.2 FP5 on a Windows 2000 Server
> > A Linux Web server running with Apache/PHP4 And IBM DB2 V7.2 Client
Install on it.
> > When I try to use odbc_connect($dbname, $user,$password);
> > I received the message:

> > "Warning: SQL error: , SQL state ¿Ë ?=z@éÿ¿ÛË ?=z@?=z@ in SQLConnect
in /svr/jerry/web/myphppage.php"

> We had a similar problem connecting to Adabas via ODBC. We installed a
> newer Apache version and then it worked.














-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to