Question

I have a simple application that is set up to use Docrine2 DBAL, the problem is it needs to run on a host that only supports php 5.2.6. Doctrine requires PHP 5.3...

What is a good alternative Database Abstraction Layer for PHP? Should I simply convert everything to PDO? Or are there other good options?

Thanks.

Was it helpful?

Solution

Maybe Zend_Db database abstraction layer?

OTHER TIPS

Pear's MDB2 was the standard for database abstraction before Doctrine came around. It's still a solid DBAL layer with pluggable adapters for which ever database you with to support.

But Pear MDB2 won't run on PHP5.3 if you need it. (As of 5/18/2011)

You could have still used Doctrine 1.2 which is actually compatible with version < 5.3

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top