Good Alternative DBAL to Doctrine2 DBAL

1.4k views Asked by At

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.

4

There are 4 answers

1
Cobby On BEST ANSWER

Maybe Zend_Db database abstraction layer?

0
xzyfer On

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.

0
pfeigl On

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

0
Mallow On

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