I far as i know you compile with php5-pdo-sqlite, but this was only tested
on debian. Last time i looked this supports sqlite 3.2.8 and you have to use
php's pdo functions and not the sqlite functions which only work with v2.
----- Original Message -----
From: "Michael Young" <[EMAIL PROTECTED]>
To: <sqlite-users@sqlite.org>
Sent: Friday, September 15, 2006 10:42 PM
Subject: [sqlite] Compiling PHP5 in order to use SQLite3
I'm not a Unix programmer, but I would like to compile PHP5 so that
it will be able to read/write SQLite3 files on my Mac.
In particular, I have tried to follow the installation script
suggested at www.phpmac.com for Apache 2.2.2 and PHP 5.1.4. However,
this only results in a compilation that recognizes SQLite2 files.
If anyone can offer advice on compiling on Mac OS Tiger, I would be
most appreciative. Thanks in advance.
Here's the script (modified in bold from the one suggested at
www.phpmac.com) I have been using without success:
./configure --prefix=/apache2/php --with-zlib --enable-pdo=shared --
with-pdo-sqlite=shared --with-sqlite=shared --with-xml --with-ldap=/
usr --enable-cli --with-zlib-dir=/usr --enable-exif --enable-ftp --
enable-mbstring --enable-mbregex --enable-dbx --enable-sockets --with-
iodbc=/usr --with-curl=/usr --with-apxs2=/apache2/bin/apxs
Regards,
Mike
-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------