PHP 8.5.0 Alpha 4 available for testing

Voting

: three minus two?
(Example: nine)

The Note You're Voting On

drew dot carmichael at gmail dot com
16 years ago
When using the OCI_CRED_EXT in php
if the ENV $ORACLE_SID is set the DB does not need to be specified explicitly and the connection will fail unless you provide a NULL DB value when creating the connection.

The $ORACLE_SID trumps the TNS name look up for the connection. So even a manual connection string in the DB parameter will fail.

So when the $ORACLE_SID Env is set a NULL passed instead of the DB name connects successfully.

Hope this saves some hair pulling when moving to %.3 and OS Authentications

<< Back to user notes page

To Top