摘要: 最近需要用到sqlite,略略找了下资料,找到一位大神把sqlite 的man文件贴了出来,转载一下,备用 原文:http://linux.die.net/man/1/sqlite3 Name sqlite3 - A command line interface for SQLite version 3 Synopsis sqlite3 [options] [databasefile] [SQL] Summary sqlite3 is a terminal-based front-end to the SQLite library that can evaluate queries interactively and display the results in multiple formats. sqlite3can also be used within shell scripts and other applications to provide batch processing features. 阅读全文
posted @ 2013-06-04 15:19 恶魔的果实 阅读(837) 评论(0) 推荐(0)
摘要: 最近需要在基于zend framework的应用中,将zend_cache_backend_File转换为zend_cache_backend_Sqlite后端缓存,需要配置php支持sqlite数据库(apache使用的php.ini)。首先安装sqlite模块:aptget install php5-sqlitesqlite的模块的文件sqlite.so会安装到php5的lib目录,由于之前已经设置好了php的lib目录,这里使用之前的配置就好,之后在/etc/php5/apache2/conf.d/下面增加sqlite.ini,里面写入extension=sqlite.so(一般来apt 阅读全文
posted @ 2013-06-04 13:07 恶魔的果实 阅读(2314) 评论(0) 推荐(0)