here's my problem. Due to some ancient database infrastructure I need to use an old version of DBD::Oracle compiled against an Oracle 8i client libs.

We're setting ORACLE_HOME and LD_LIBRARY_PATH to be inherited from Apache.

The problem is that this completely borks PHP/Oracle connection, since the current version of PHP won't work with the old version; it works fine with 10 or 11 Instant client.

If I reset those two env vars in my programs, via

$ENV{'ORACLE_HOME'} = <path to old version of oracle>
$ENV{'LD_LIBRARY_PATH'} = <path to old version of oracle>

Will this suffice to allow php (via Apache) to use the new client and DBD::Oracle to use the old?

--
Bruce Johnson
University of Arizona
College of Pharmacy
Information Technology Group

Institutions do not have opinions, merely customs


Reply via email to