Home » Open Source » Programming Interfaces » Connectivity from php to oracle database running on windows NT server
Connectivity from php to oracle database running on windows NT server [message #165577] Thu, 30 March 2006 23:50 Go to next message
prashant0812
Messages: 9
Registered: March 2006
Junior Member
Hi,

We have servers one running linux - apache & php, and antoher one with oracle on windows nt.

Now I want to query to oracle database from my client (fc3) can any one help me to connect to oracle database and fetch data.

With thanks !

prashant
Re: Connectivity from php to oracle database running on windows NT server [message #165713 is a reply to message #165577] Fri, 31 March 2006 19:02 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
This a PHP programming issue not an Oracle issue.
Research the ZEND, Oracle collaberation at
http://otn.oracle.com
Re: Connectivity from php to oracle database running on windows NT server [message #167384 is a reply to message #165577] Wed, 12 April 2006 15:05 Go to previous message
adrianp
Messages: 6
Registered: April 2006
Junior Member
It's true this is not an Oracle issue per se, but here are a few pointers:

1. install Oracle Client (or the Oracle Instant Client) on the Linux server. If you go for the full Oracle Client installation, make sure you have the TNS_NAMES.ORA file pointing to your database on the NT server.

2. check the PHP configuration instructions at
http://us3.php.net/manual/en/ref.oci8.php

Note that if you plan to use the OCI_* functions, you may have to recompile your PHP distribution, and possibly the Apache distribution as well Sad

Adrian

Previous Topic: ORACLE - PHP Issue
Next Topic: error in php executing sp
Goto Forum:
  


Current Time: Thu Mar 28 06:13:26 CDT 2024