Translations:Manual:Oracle/15/en

If you are not using the "hostname/servicename" connection string format (e.g. "localhost/xe"), and instead use an alias from a tnsnames.ora file, then after you have your PHP environment set up add the TNS_ADMIN variable to your PHP startup environment.