Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Not an Issue
-
Affects Version/s: 1.6.0
-
Fix Version/s: None
-
Component/s: Zend_Db
-
Labels:None
Description
I have dug myself into a trench using the PEAR-hacked version of the Zend_Db adapters; they do not support many features of the Zend_Db_Adapter class including fetchPairs, fetchAssoc, etc. Using non ActiveRecord calls is pretty mandatory for quick retrieval of complex sets. In particular I am supporting a galactic web app that has calls to core mysql methods all over the place and insinuating Zend into that environment pretty much requires me to stick with mysql – not pdo_mysql, not mysqli. Help! Thanks – and let me know if I can contribute towards this as well.
As the ext/mysql is getting older and older, it is really recommanded not to use that extension any more in new PHP developments.
Zend Framework won't support such a connector, as it is too old, not object oriented, and doesn't support most of DB stuff such as prepared statements and transactions.
Nothing to do else than use PDO_Mysql ( available since PHP 5.1 .... ) or Mysqli (PHP 5.0).