Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am developing locally on my computer, using my own Apache server with PHP configured.

My database however is remotely located on an Oracle 11g Database Server. We were also given a separate remote server for hosting our .html and .php files, however only FTP access has been provided there. Development is far too slow waiting for the FTP connection to push.

So I decided to develop locally, but still use the remote DB server. Unfortunately that gives me an error.

Not sure how—or where—to integrate tunnelling.

Do I add something to the oci_connect HOST in my PHP file, or do I encapsulate my whole environment over SSH?

share|improve this question
    
Unless you can get an SSH connection to the remote DB server, you will not be able to tunnel via SSH. What access do you have to the remote DB server? –  Yedric Sep 28 '12 at 20:48
add comment

1 Answer

This message says oci_connect is undefined function. I don't see how would this be related not only to tunneling, but to IP connectivity at all.

For oci_connect, you need:

  • PHP 5
  • PECL OCI8 >= 1.1.0
  • Oracle Client binaries (on your machine), minimum suggested is basiclite Oracle Instant Client.

Are you sure you comply?

See http://pl1.php.net/manual/en/oci8.requirements.php

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.