Re: Use PHP to connect to Oracle 8i database
| From: | Andrew Hill | Date: | Mon, 27 Aug 2001 21:43:57 +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-64701@lists.php.net to get a copy of this message | ||
Toni
You don't have to use the OCI libraries if you use ODBC.
Compiling PHP --with-iodbc as per the HOWTO at www.iodbc.org will get you started.
Non-expiring ODBC drivers with a 2-connection license are available as a free download from http://www.openlinksw.com. Free support is also available if you encounter problems.
Best regards,
Andrew Hill
Director of Technology Evangeslim
OpenLink Software http://www.openlinksw.com
XML and eBusiness Infrastructure Technology Providers
On Monday, August 27, 2001, at 05:04 PM, Joe Conway wrote:
I want to use php to connect to an Oracle 8i database. I have 2 questions: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.1) does the webserver have to be installed on thedatabase server?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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net2) do you have to use the OCI libraries?