You are here: [SQLite] Compiling in PHP statically? « PHP Programming Language « IT news, forums, messages
[SQLite] Compiling in PHP statically?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация