Accessing Oracle 9i locally

From: Date: Tue, 28 Aug 2001 19:35:56 +0000
Subject: Accessing Oracle 9i locally
Groups: php.db 
Request: Send a blank email to php-db+get-11919@lists.php.net to get a copy of this message
Hi folks. Up til now I have been using PHP code on my NT Server running Apache to access an Oracle 9i database remotely. Everything works fine but now I will be migrating my files to an Apache server on the same machine as the Oracle database. My code currently access the database through TCP/IP but since the mechanism will be local now, I am wondering how that will be accomplished. Can it be done through IPC and if so, what is the notation? Currently, my connection code is as follows: $db = " (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = $host)(PORT = 1522))(CONNECT_DATA = (SID = etrack9i)))"; $connection = ocilogon("system","manager",$db); How should the above look if its a local connection? Tom Tsongas

« previous php.db (#11919) next »