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, 请大家赐教!
------解决方案--------------------
问题怎么解决的?兄弟,说一下吧,我这边也碰到这个问题了
------解决方案--------------------
解决了就分碗粥来喝
------解决方案--------------------
解决了就说下如何解决的,谢谢了
PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号