Re: Use PHP to connect to Oracle 8i database

From: Date: Mon, 27 Aug 2001 21:04:55 +0000
Subject: Re: Use PHP to connect to Oracle 8i database
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-64699@lists.php.net to get a copy of this message
> I want to use php to connect to an Oracle 8i database. > > I have 2 questions: > 1) does the webserver have to be installed on the > database server? No -- you just have to configure your tnsnames.ora so that the web server can connect. Try sqlplus first. If you can connect with sqlplus, you should be able to connect from PHP. > 2) do you have to use the OCI libraries? > Yes, you do need the oracle client. See http://www.php.net/manual/en/ref.oci8.php for more info. Particularly see the note on pthread. HTH, -- Joe

« previous php.general (#64699) next »