|
Posted by Gilles Ganault on 09/28/27 12:01
Hello
I need to compile PHP5 with SQLite statically and without PDO.
I don't need DB-independence, so it's fine using sqlite_*() functions
instead of PDO.
1. I've downloaded, compiled, and installed
sqlite.org/sqlite-3.5.4.tar.gz, and...
2. used "--with-sqlite --disable-pdo", but it fails.
Those others failed too:
--disable-pdo --with-sqlite=/usr/local/lib/libsqlite3.a
--disable-pdo --with-sqlite=/usr/local/lib/libsqlite3.la
--disable-pdo --with-sqlite=/usr/local/lib/libsqlite3.so.0.8.6
FWIW, I edited PHP5's makefile before rerunning make after each time.
=> What's the right way to statically link SQLite while disabling PDO
altogether?
BTW, when using "--with-sqlite" as-is, how does make know where to
find the SQLite library?
Thank you.
Navigation:
[Reply to this message]
|