Home > Backend Development > PHP Tutorial > PHP5.3.8 与 SQLite3 :could not find driver解决思路

PHP5.3.8 与 SQLite3 :could not find driver解决思路

WBOY
Release: 2016-06-13 13:37:23
Original
1541 people have browsed it

PHP5.3.8 与 SQLite3 :could not find driver
请教,

在windows上 安装了 PHP5.3.8 和 SQLite3, 

index.php 的程序是:

try {
  /*** connect to SQLite database ***/
  $dbh = new PDO("sqlite:test.db");
  }
catch(PDOException $e)
  {
  echo $e->getMessage();
  }
?>

php.ini 属性如下:

extension=php_pdo_sqlite.dll
extension=php_sqlite.dll
extension=php_sqlite3.dll

都已经打开,没有 php_pdo.dll 这个dll,看官方文档说windows上不需要这个dll

运行的时候报错 could not find driver, 请大家赐教!

------解决方案--------------------
问题怎么解决的?兄弟,说一下吧,我这边也碰到这个问题了
------解决方案--------------------
解决了就分碗粥来喝
------解决方案--------------------
解决了就说下如何解决的,谢谢了

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template