go to bug id or search bugs for
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.
$conn = oci_connect('USERNAME', 'PASSW', 'OID_BDNAME');
//Where OID_BDNAME is the database name in OID.
Add a Patch
Add a Pull Request
This sounds like a misconfiguration with setting the environment. It should be followed up in a discussion forum first. There's no immediate indication this is a bug.