title: Connect Oracle Database server in PHP
body: <p>I'm developing a website in PHP that interacts with Oracle10g remote server database. I've googled on this topic a lot and couldn't find a solution, though i got some idea on tnsnames.ora file. I've installed WAMP in my machine. What are steps to connect to Oracle remote database?? Can any one explain it step by step??
  I created a site which connects to MySQL datebase a year ago which wasn't this much tough.</p>
  
  <pre><code>$con = oci_connect('username', 'password', '//server ip:port/service name');
  </code></pre>
  
  <p>It's throwing "Call to undefined function oci_connect()" error.</p>