"zend db adapter mysqli or pdo_mysql" Code Answer


i developed a lot of the zend_db component for zend framework through the 1.0 release. it was the goal that the adapters function identically, or as close to it as could be supported by the php extension.

the same set of unit tests can be run against both mysql adapters, with virtually no difference. performance-wise, there's no measurable difference.

the reason you would choose one over the other, and the only reason why we supported mysqli at all, instead of only pdo_mysql, is that you need to deploy to a php environment where you don't have the pdo extension enabled, and you don't have the privilege to modify the environment. for instance, a commodity hosting environment.

By Hiraeths on January 5 2022

Answers related to “zend db adapter mysqli or pdo_mysql”

Only authorized users can answer the Search term. Please sign in first, or register a free account.