문제

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