tags:

views:

81

answers:

3

I have a PHP application that I want to switch from MySQL to Cache DB. I was wondering if I could somehow use a JDBC or ODBC connection since Cache doesn't come with a PHP connection?

Thanks

A: 

http://www.google.com/search?q=php+JDBC+&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:de:official&client=firefox-a

powtac
Sorry: -1 for a Google only link (and it tells you use firefox?).
Pindatjuh
So, you see any other answer than a reference to a quick google result?
powtac
A: 

Probably not the most efficient method, but take a look at the PHP-Java Bridge http://php-java-bridge.sourceforge.net/pjb/ or http://uk2.php.net/manual/en/book.java.php

Mark Baker
+1  A: 

PHP can use ODBC connections, either directly or through PDO (recommended) using PDO_ODBC.

PDO is recommended because it's easier to switch between databases if you use it... it's similar in concept to JDBC that way.

R. Bemrose