php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43305 SQLite.dll not loading
Submitted: 2007-11-15 16:28 UTC Modified: 2007-11-19 13:34 UTC
From: ivaplace at yahoo dot co dot uk Assigned:
Status: Not a bug Package: Dynamic loading
PHP Version: 5.2.5 OS: Windows 2003
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ivaplace at yahoo dot co dot uk
New email:
PHP Version: OS:

 

 [2007-11-15 16:28 UTC] ivaplace at yahoo dot co dot uk
Description:
------------
pdo_sqlite.dll and sqlite.dll not loading although uncommented in php.ini.  Error message suggests files not found in the ext directory where they clearly exist


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-11-15 22:47 UTC] jani@php.net
Did you install the extra dlls too? (and if you upgraded, you upgraded those as well?)
 [2007-11-15 22:48 UTC] jani@php.net
And exactly what did you put in php.ini?
 [2007-11-16 09:31 UTC] ivaplace at yahoo dot co dot uk
Could you please tell me which are the 'extra dlls'?  The other dlls I uncommented in php.ini all loaded fine.
 [2007-11-16 11:39 UTC] jani@php.net
Extra dlls are the ones that need to be installed as those are required  by PHP core and several extensions. They're found in the zip package you installed PHP from (or if you used the installer, that should do it for you..).

But what exactly did you put in php.ini to load the sqlite extension?
 [2007-11-18 23:28 UTC] ivaplace at yahoo dot co dot uk
The extra dlls were: php_sqlite.dll and php_pdo_sqlite.dll

I uncommented: 
extension=php_sqlite.dll
extension=php_pd_sqlite.dll
 [2007-11-18 23:30 UTC] ivaplace at yahoo dot co dot uk
Those were the only changes I made - I could find no other references.
 [2007-11-18 23:38 UTC] jani@php.net
I guess you made a typo when you copied this:

extension=php_pd_sqlite.dll

(the missing 'o' there)

But did you install the extra dlls or not? Is PDO itself loaded?
 [2007-11-19 08:41 UTC] ivaplace at yahoo dot co dot uk
Haha.  It was the php_pdo.dll that was missing.  Obvious.  Now.  Many thanks indeed for your help, and patience, Jani!
 [2007-11-19 13:34 UTC] jani@php.net
User error -> bogus.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 18:01:29 2024 UTC