Chinaunix首页 | 论坛 | 博客
  • 博客访问: 72744
  • 博文数量: 27
  • 博客积分: 1880
  • 博客等级: 上尉
  • 技术积分: 505
  • 用 户 组: 普通用户
  • 注册时间: 2007-10-16 08:51
文章分类

全部博文(27)

文章存档

2008年(27)

我的朋友
最近访客

分类:

2008-04-10 08:57:35

In PHP 5, the SQLite extension and the engine itself are bundled and compiled by default. However, since PHP 5.1.0 you need to manually activate the extension in php.ini (because it is now bundled as shared). Moreover, since PHP 5.1.0 SQLite depends on it must be enabled too, by adding the following lines to php.ini (in order):

extension=php_pdo.dll
extension=php_pdo_sqlite.dll

extension=php_sqlite.dll
php 使用 pdo 来连接 sqlite 数据库,
=>在设置扩展(extension) 的时候  pdo 扩展应该放在前面(为了这问题我搞了一个晚上).
 
牢记:扩展是有顺序滴,一定要搞清楚,具体关系,不要稀里糊涂就上了.
 
阅读(502) | 评论(0) | 转发(0) |
0

上一篇:java 环境配置 安装

下一篇:宝宝宝宝

给主人留下些什么吧!~~