Using the following code:
-------------------------
<?php
foreach (array('PATH', 'NLS_LANG', 'NLS_NCHAR', 'ORACLE_HOME') as
$env)
{
    print $env;

    if (isset($_ENV[$env]))
    {
        print '=' . htmlspecialchars($_ENV[$env]);
    }
    else
    {
        print ' not set';
    }
    print '<br>';
}
?>

I get the following:
-------------------------
PATH not set
NLS_LANG not set
NLS_NCHAR not set
ORACLE_HOME not set

However the following variables are set in the system:
  ORACLE_HOME (both in environment variable and in the registry which
points to my 9i installation)
  NLS_LANG
  PATH

I also have the TNS_ADMIN set to point to the location of my 10g
Instant client directory.  In this directory
I have extracted the following files: oci.dll, orannzsbb10.dll, and
oraociei10.dll.  I also copied over the
tnsname.ora file in that directory (as per some web comments...)

Basically I have to have my 9i environment working and would simply
like to have PHP 5.2.4 be able to
connect via OCI to my Oracle 9i database.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to