Search code examples
phporacle11goracle8

how to connect php to oracle 11g and oracle8


I am on linux redhat 6 enterprise. I have php set up to connect to oracle 11g, I would like to connect it to oracle 8, how can i do this?

I have tried using the current drivers installed but it does not work.

PHP Warning:  oci_connect(): ORA-03134: Connections to this server version are no longer supported. in /var/SP/oiadm/docroot/common/php/DatabaseConnection.php on line 112

Solution

  • Your problem is because your client version (which used to compile oci8 you are using) is not compatible with Oracle 8 server.

    This is the matrix (image format) for the Oracle client / server interoperabillity: Matrix

    And the meaning:

    Legend

    Extracted from here <- where is 12 version? I'm trying to get a newer one.