Re: [PDO] 5.3 and Sqlite in Shared Mode
[email protected] (Christopher Jones) Mon, 07 Jun 2010 10:19:48 -0700
| Newsgroups | php.pdo |
|---|---|
| Message-ID | <[email protected]> |
Benjamin Eberlei wrote: > Can anyone here comment on http://bugs.php.net/bug.php?id=48614? > > I can't seem to get it working either, many other people do have it too, > is this going to be fixed any soon or do I just not see the solution for > this? (obviously others Zend Server, Ubuntu, DotDeb, and so on got it > working somehow....) > > greetings, > Benjamin > > From looking at the phpinfo() output, Zend Server seems to have sqlite, sqlite3 and pdo-sqlite built statically. If you can't build statically, do you need sqlite or can you make do with sqlite3? I don't get the error if I build statically or if build dynamically using --without-sqlite. On Ubunute 9.10 my PHP 5.3.2 config.nice contains: #! /bin/sh # # Created by configure './configure' \ '--prefix=/home/cjones/php532-bdb-sqlite' \ '--without-sqlite' \ '--with-sqlite3=shared,/home/cjones/bdb-5.0.21_sqlite' \ '--enable-pdo=shared' \ '--with-pdo-sqlite=shared,/home/cjones/bdb-5.0.21_sqlite' \ "$@" My php.ini has these lines: extension_dir=/home/cjones/php532-bdb-sqlite/lib/php/extensions/no-debug-non-zts-20090626 [...] extension=pdo.so extension=pdo_sqlite.so extension=sqlite3.so The modules loaded are: $ /home/cjones/php532-bdb-sqlite/bin/php -m [PHP Modules] Core ctype date dom ereg fileinfo filter hash iconv json libxml pcre PDO pdo_sqlite Phar posix Reflection session SimpleXML SPL sqlite3 standard tokenizer xml xmlreader xmlwriter [Zend Modules] PHP runs: $ /home/cjones/php532-bdb-sqlite/bin/php -r 'echo "Hello, World!\n";' Hello, World! -- Email: [email protected] Tel: +1 650 506 8630 Blog: http://blogs.oracle.com/opal/ Free PHP Book: http://tinyurl.com/ugpomhome