|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2018-07-16 21:16 UTC] cmb@php.net
-Package: PDO OCI
+Package: OCI8 related
[2018-12-09 01:55 UTC] sixd@php.net
-Status: Open
+Status: Not a bug
[2018-12-09 01:55 UTC] sixd@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 04:00:01 2025 UTC |
Description: ------------ oci_connect can connect to the OID to resolve the database adress when launched from php command line. But oci_connect throws this exeption : "ORA-12154: TNS:could not resolve the connect identifier specified" when launched from my web application. (php-fpm). Both fpm and cli have the same env variables and the same config. Test script: --------------- $conn = oci_connect('USERNAME', 'PASSW', 'OID_BDNAME'); //Where OID_BDNAME is the database name in OID.