[PHP-DB] garbage in odbc_connect error

2005-07-19 Thread Vandana Ponnuru
Hi all, I have PHP-4.3.10 and Apache-2.0 running on a Redhat 9 machine. I am connecting to DB2 using the odbc API. I have different applications running connecting to different databases and the applications were all running perfectly fine. But now, odbc_connect fails with some garbage in the

[PHP-DB] Oracle-PHP (contd.)

2001-06-23 Thread Vandana
With reference to my previous problem in connecting to the oracle database, I found out some additional information. I defined the TNS_ADMIN variable in the startup file and added this line to my php-script: putenv(TNS_ADMIN=/ora1/app/oracle/product/8.1.6/network/admin);

[PHP-DB] Maximum connections

2001-06-23 Thread Vandana
I am running oracle-8.1.6 on RH 7.0 with apache 1.3.14 and php4.0.4. We are developing a system which might be required to take very heavy loads. How do we improve the load factor so as to enable maximum number of connections simultaneously? What changes have to made to either

[PHP-DB] Oracle-PHP

2001-06-22 Thread Vandana
I've just installed php4.0.4 , apache-1.3.14 and oracle8.1.6 on my RedHat 7.0 machine.I am trying to write a php script to connect to my oracle database.But I am facing problems.When I used the oci8 functions as follows: ?php putenv(ORACLE_SID=sid);