#30749 [Opn->WFx]: can't configure with sqlite3 using --with-sqlite=
| From: | wez@php.net | Date: | Thu, 11 Nov 2004 07:11:32 +0000 |
| Subject: | #30749 [Opn->WFx]: can't configure with sqlite3 using --with-sqlite= | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-68942@lists.php.net to get a copy of this message | ||
ID: 30749
Updated by: wez@php.net
Reported By: stwitche at fairchildsemi dot com
-Status: Open
+Status: Wont fix
Bug Type: Feature/Change Request
Operating System: Linux/Red Hat 7
PHP Version: 5.0.2
New Comment:
The PDO SQLite driver will support all the features of sqlite3
(currently only missing UDF).
No need for a third option.
Previous Comments:
------------------------------------------------------------------------
[2004-11-10 23:19:28] derick@php.net
I don't really agree with this as PDO is going to be some subset of the
full functionality as far as I learned from yesterdays meeting. I don't
think it should be merged into the current sqlite extension, but
something new (sqlite3 / sqlitei) perhaps? For now I will just mark
this as a feature request instead.
------------------------------------------------------------------------
[2004-11-10 22:44:06] wez@php.net
sqlite3 is totally incompatible with sqlite2 so we are not going to
support its use in the built-in sqlite extension.
Use the PDO_SQLite driver with PDO in PHP version 5.1 and up instead.
------------------------------------------------------------------------
[2004-11-10 19:15:38] stwitche at fairchildsemi dot com
Description:
------------
When trying to configure php5.0.2 with sqlite 3.0.8 using
--with-sqlite= I get the following error:
configure: error: wrong sqlite lib version or lib not found
It will configure correctly when using sqlite 2.8.15
The files for 3.0.8 all have a "3" in the filename where the ones for
2.8.15 do not:
3.0.8
libsqlite3.a
libsqlite3.la
libsqlite3.so
libsqlite3.so.0
libsqlite3.so.0.8.6
2.8.15
ibsqlite.a
libsqlite.la
libsqlite.so
libsqlite.so.0
libsqlite.so.0.8.6
Reproduce code:
---------------
./configure --disable-libxml
--enable-track-vars
--with-apxs=/usr/local/apache/bin/apxs
--with-sqlite=/usr/local/sqlite
Actual result:
--------------
Configuring extensions
...<skip down to sqlite comments>...
checking whether to enable UTF-8 support in sqlite (default:
ISO-8859-1)... no
checking for sqlite support... yes
checking for sqlite_open in -lsqlite... no
configure: error: wrong sqlite lib version or lib not found
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30749&edit=1