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.

有帮助吗?

解决方案

Maybe Zend_Db database abstraction layer?

其他提示

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top