|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35469 SQLite is no more included and compiled in PHP
Submitted: 2005-11-29 11:02 UTC Modified: 2005-11-29 11:11 UTC
From: cbelin at free dot fr Assigned:
Status: Not a bug Package: SQLite related
PHP Version: 5.1.1 OS: Windows XP sp2
Private report: No CVE-ID: None
 [2005-11-29 11:02 UTC] cbelin at free dot fr
Before upgrading to PHP version 5.1.1, SQLite was included in PHP distribution and enabled by default (and worked fine !).

Since version 5.1.1, SQLite doesn't seem to be included anymore. Enabling SQLite extension (php_sqlite.dll) in php.ini doesn't solve anything : it produces instead a PHP startup error.

Reproduce code:
echo sqlite_libversion();

Expected result:

Actual result:
Without enabling SQLite extension (php_sqlite.dll) :

"Fatal error: Call to undefined function sqlite_libversion() in ... on line ..."

With SQLite extension enabled :

"PHP Warning: PHP Startup: Unable to load dynamic library '...\PHP\ext\php_sqlite.dll' - Le module sp?cifi? est introuvable. in Unknown on line 0"


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-29 11:04 UTC]
You need to also include php_pdo.dll in php.ini.
(php_sqlite.dll requires it to be loaded before it)

 [2005-11-29 11:11 UTC] cbelin at free dot fr
It works !

So, to enabled SQLite under PHP 5.1.1/Win32, you must put in your php.ini file the following lines :

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jun 14 19:01:30 2024 UTC