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
- [sqlite] Compiling PHP5 in order to use SQLite3 Michael Young
-