ZF-2072: Detect missing SQLite extension and throw exception

Issue Type: Improvement Created: 2007-10-15T18:38:55.000+0000 Last Updated: 2008-03-21T16:25:36.000+0000 Status: Resolved Fix version(s): - 1.5.0 (17/Mar/08)

Reporter: Bill Karwin (bkarwin) Assignee: Bill Karwin (bkarwin) Tags: - Zend_Cache

Related issues: Attachments:


Zend_Cache_Backend_Sqlite depends on the PHP extension 'sqlite', not PDO_SQLITE as supposed by Zend_Cache_AllTests that I wrote recently.

Please skip Sqlite tests if the 'sqlite' extension is not present.

Please write code in the Zend_Cache_Backend_Sqlite class to detect when the extension is not present, and throw an informative exception instead of aborting the process with a fatal error about a missing method 'sqlite_open()'.


Posted by Bill Karwin (bkarwin) on 2007-10-15T18:39:35.000+0000

Fixed in revision 6642.

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.