[PHP] ibm-db2 support

2001-01-29 Thread Bill Sneed

Greetings:

I'm using RH6.2, DB2 V7.1, PHP-4.0.4pl1, Apache 1.3.14, and Pgsql 7.0.3.

I've been able to ./configure  successfully support for apache, pgsql, &
db2 but come time to compile, make ends with the following error:

In file included from internal_functions.c:38:
/usr/local/php-4.0.4pl1/ext/odbc/php_odbc.h:60:sqlcli.h:
no such file or directory
.
.
.
make ends.

Anyone have an idea what's going on and how to fix it??

TIA.....

bill sneed, prospect, maine.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] ibm-db2 connect failure

2001-02-10 Thread Bill Sneed

Greetings all:

Using: RH6.2, Apache 1.3.17, PHP4.0.4pl1, IBMdb2 V7.1, & PostgreSQL 7.03

PHP statically linked to Apache.

Postgres, php, & Apache all working well together.

Have made the appropriate symlinks for db2 & Apache (libdb2.so.1, etc)

db2 works fine from the command line or from within >>db2

However, when using the following script:

 stuff here.



I get this error:  Warning SQL error, SQL state y[ASCII hex 98]P[ASCII
hex 50] SQLConnect in ../../test.php line 5

Using odbc_pconnect produces a similar error message but longer with
many more "garbage" characters for a message!

Any ideas as to what's going on & how to fix it would be most
appreciated.

tnx.


bill sneed, prospect, maine
~~~
The level which science has reached is determined by how far it is
capable of a crisis in its basic concepts.  M. Heidegger, S & Z


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]