This modification is important to note in ZF 1.9.3:

http://framework.zend.com/issues/browse/ZF-5606

The change will probably break some (older) applications.

Correct:

$db = Zend_Db::factory('Pdo_Mysql', $params);

Incorrect (as of ZF 1.9.3)

$db = Zend_Db::factory('PDO_MYSQL', $params);

There are many examples online and in books that use 'PDO_MYSQL'
instead of 'Pdo_Mysql'.

This issue effects applications on file systems that are case-sensitive.

You can check your code with the following:

find -name "*.php" | xargs grep -H "PDO_MYSQL" 2> /dev/null

This shows all occurrences of 'PDO_MYSQL' in all .php files.

Hope this helps someone!

:-)

Jonathan Maron

Reply via email to