PHP 4.0 Bug #7811 Updated: connection failure

From: Date: Sun, 18 Feb 2001 11:19:51 +0000
Subject: PHP 4.0 Bug #7811 Updated: connection failure
Groups: php.dev 
Request: Send a blank email to php-dev+get-46825@lists.php.net to get a copy of this message
ID: 7811 Updated by: thies Reported By: ti.gmastrantonio@nbn.it Old-Status: Open Status: Closed Bug Type: OCI8 related Assigned To: Comments: setup problem: once you get sqlplus user/password@instance working as the user that runs apache - php will work as well. Previous Comments: --------------------------------------------------------------------------- [2000-11-14 10:19:47] ti.gmastrantonio@nbn.it Trying to connect to ORACLE 8 (oracle client 8.1.5.0.0) Data Base I always obtain this error: Warning: _oci_open_server: ORA-12154: TNS:could not resolve service name. Using php3 no problem arise. Here is the code: $user = "user"; $password = "password"; $dbName = "oracle instance"; $conn = OCIPlogon ($user, $password, $dbName); --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=7811&edit=2

« previous php.dev (#46825) next »