ZF-2072: Detect missing SQLite extension and throw exception


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()}}'.


Fixed in revision 6642.