Re: [PHP-DB] IBM DB2 connectction problems

2001-04-06 Thread Dan Scott
I think it's more likely that you haven't sourced the /home/db2inst1/sqllib/db2profile script in whatever wrapper script starts up Apache for you. Add the following line to the top of 'apachectl' or '/etc/rc.d/init.d/httpd' to set up the DB2 environment variable before you start your webserver

Re: [PHP-DB] IBM DB2 connectction problems

2001-03-13 Thread ManieQ
OK, here are some important details about my system: 1. Linux (Mandrake 7.2) 2. Apache 1.3.14 (from distribution) 3. jre118 (rpm, IBM version) 4. IBM DB2 V7.1 Installed with default logins, directories, etc. 5. Added '/usr/IBMdb2/V7.1/lib' to '/etc/ld.so.conf'; 'ldconfig' executed 6. PHP 4.0.3

RE: [PHP-DB] IBM DB2 connectction problems

2001-03-13 Thread Chris Book
7 AM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] IBM DB2 connectction problems hello, > $i = odbc_connect( "sample", "db2inst1", "ibmdb2" ); I changed, but got same (= none) result. > Please provide more detailed information on the SQL error and SQL state.

Re: [PHP-DB] IBM DB2 connectction problems

2001-03-13 Thread ManieQ
hello, > $i = odbc_connect( "sample", "db2inst1", "ibmdb2" ); I changed, but got same (= none) result. > Please provide more detailed information on the SQL error and SQL state. > Otherwise it is not really easy to tell, what the problem is. Well, as I posted, my SQL error is null and state is r

Re: [PHP-DB] IBM DB2 connectction problems

2001-03-12 Thread Helmut Tessarek
Hi, It should read: $i = odbc_connect( "sample", "db2inst1", "ibmdb2" ); Please provide more detailed information on the SQL error and SQL state. Otherwise it is not really easy to tell, what the problem is. ManieQ wrote: > $i = odbc_connect ("PROTOCOL=TCPIP; SERVERNAME=jajo.tpi.pl; > SER