Can PHP be configured to access two instances of the same database (ie. 2 Oracle, 2 DB2, 2 of any database) that reside on the same host machine? If so what do I need to do to make it work?
You'd use the [man]ODBC[/man] functions. For two instances you'd make two connections stored in two different variables. How you specify the name or whatever of the instance – I don't use DB2.