Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001011

[PHP-DB] PHP4 - OCI8 - Apache - NT4 From: Anabela de Silva (anabela.desilva <email protected>)
Date: 01/03/01

Hi,

I'm trying to connect to Oracle 8.0.5.2.1 using PHP 4.0.3 PL1 on an Apache
1.3.14 web server. For testing purposes I've installed the web server on my
local NT 4 machine. The productive system is an NT 4 server.

Oracle client is installed and the tnsnames.ora is o.k. The connect with
SQLPlus works fine, but the OCI8 function calls do not work. The error
message is: "Call to undefined function." I already read the recent threads
and went through the PHP online documentation and all the comments, without
success yet. I could not find what exactly I need to do to make the OCI8
functions run. Someone wrote his phpinfo page says that OCI8 is enabled.
Mine doesn't even say that it is disabled.

Although I'm not that far yet, I'll probably face the problem with the
environment vars (ORACLE_HOME, ORACLE_SID etc.). I read several times that
the env vars need to be set in the Apache startup script. I only know the
httpd.conf and would not know where to place those entries. All those
threads were referring to Linux. How is this with NT?

Any help is very much appreciated.

:-) Anabela

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>