Forum Stats

  • 3,875,636 Users
  • 2,266,943 Discussions
  • 7,912,281 Comments

Discussions

Connect to Remote Oracle database

Arun Prasath
Arun Prasath Member Posts: 63
edited Aug 1, 2013 2:52PM in PHP

Hi all,

I want to connect to remote oracle database in PHP. I've googled a lot but couldn't find any solution.

Can any one guide me with step by step process please???

I tried with this code

<span class="pln">$con </span><span class="pun">=</span><span class="pln"> oci_connect</span><span class="pun">(</span><span class="str" style="color: #800000;">'username'</span><span class="pun">,</span><span class="pln"> </span><span class="str" style="color: #800000;">'password'</span><span class="pun">,</span><span class="pln"> </span><span class="str" style="color: #800000;">'//server ip:port/service name'</span><span class="pun">);</span>

but it's throwing "Call to undefined function oci_connect()" error.

Answers

This discussion has been closed.