sqlite on windows

php.internals

Lukas Smith

20 years ago
14 Oct 2005, PHP 5.1 Release Candidate 2 - Changed SQLite extension to be a shared module in Windows distribution. (Edin) Whats the reason for this? To allow people to switch between sqlite2 and sqlite3? Shouldnt the extension then be enabled by default in the php.ini-dist and php.ini-recommended files on windows? It does not seem to be the case in the current snaps zips. regards, Lulas

Wez Furlong

20 years ago
It's a linkage/dependency problem; ext/sqlite holds the sqlite2 PDO driver, and PDO is a shared extension. --Wez. On 10/16/05, Lukas Smith <lsmith@php.net> wrote:

Lukas Smith

20 years ago
Wez Furlong wrote:
> It's a linkage/dependency problem; ext/sqlite holds the sqlite2 PDO > driver, and PDO is a shared extension.
Ok .. can then someone enable the php_sqlite.dll in our sample php.ini's then? I dont have the karma .. thx regards, Lukas

Antony Dovgal

20 years ago
On 16.10.2005 19:31, Lukas Smith wrote:
> Wez Furlong wrote: >> It's a linkage/dependency problem; ext/sqlite holds the sqlite2 PDO >> driver, and PDO is a shared extension. > > Ok .. can then someone enable the php_sqlite.dll in our sample php.ini's > then? I dont have the karma ..
If we enable any of *.dll in php.ini by default, PHP installation won't work anymore out-of-the-box. Because it'll _require_ setting extension_dir too.
-- Wbr, Antony Dovgal

Lukas Smith

20 years ago
Antony Dovgal wrote:
> On 16.10.2005 19:31, Lukas Smith wrote: > >> Wez Furlong wrote: >> >>> It's a linkage/dependency problem; ext/sqlite holds the sqlite2 PDO >>> driver, and PDO is a shared extension. >> >> >> Ok .. can then someone enable the php_sqlite.dll in our sample >> php.ini's then? I dont have the karma .. > > > If we enable any of *.dll in php.ini by default, PHP installation won't > work anymore out-of-the-box. > Because it'll _require_ setting extension_dir too.
Whats the problem requiring that they set this? Most people do anyways .. no? Either way if we don't then we need to make it clear in the changelog that this means that sqlite needs to be enabled manually. regards, Lukas

Antony Dovgal

20 years ago
On 16.10.2005 20:17, Lukas Smith wrote:
>> If we enable any of *.dll in php.ini by default, PHP installation won't >> work anymore out-of-the-box. >> Because it'll _require_ setting extension_dir too. > > Whats the problem requiring that they set this? Most people do anyways > .. no?
Only if they really need it.
> Either way if we don't then we need to make it clear in the changelog > that this means that sqlite needs to be enabled manually.
See above =)
-- Wbr, Antony Dovgal