I've found that print_r(get_defined_constants()) gives me a few things and I've started putting together an configure line
Code: Select all
./configure --with-apxs2=/usr/bin/apxs2
--prefix=/usr
--sysconfdir=/usr/etc
--libdir=/usr/lib/php5
--datadir=/usr/share/php5
--with-mysqlCode: Select all
--with-libxml-dir[=DIR] libxml2 install prefix
--with-openssl[=DIR] Include OpenSSL support (requires OpenSSL >= 0.9.6)
--with-zlib[=DIR] Include ZLIB support (requires zlib >= 1.0.9)
--with-zlib-dir=<DIR> Define the location of zlib install directory
--with-curl[=DIR] Include cURL support
--with-libxml-dir[=DIR] DOM: libxml2 install prefix
--with-gd[=DIR] Include GD support where DIR is GD install prefix.
If DIR is not set, the bundled GD library will be used
--with-jpeg-dir[=DIR] GD: Set the path to libjpeg install prefix
--with-png-dir[=DIR] GD: Set the path to libpng install prefix
--with-zlib-dir[=DIR] GD: Set the path to libz install prefix
--with-xpm-dir[=DIR] GD: Set the path to libXpm install prefix
--with-ttf[=DIR] GD: Include FreeType 1.x support
--with-freetype-dir[=DIR] GD: Set the path to FreeType 2 install prefix
--with-t1lib[=DIR] GD: Include T1lib support. T1lib version >= 5.0.0 required
--enable-gd-native-ttf GD: Enable TrueType string function
--enable-gd-jis-conv GD: Enable JIS-mapped Japanese font support
--with-gettext[=DIR] Include GNU gettext support
--with-mcrypt[=DIR] Include mcrypt support
--with-mhash[=DIR] Include mhash support
--with-mysql[=DIR] Include MySQL support. DIR is the MySQL base directory
--with-pdo-mysql[=DIR] PDO: MySQL support. DIR is the MySQL base directory
--with-mm[=DIR] SESSION: Include mm support for session storage
--with-openssl-dir[=DIR] SNMP: openssl install prefix
--with-xsl[=DIR] Include new XSL support (requires libxslt >= 1.1.0).
DIR is the libxslt install directory
--with-pear=DIR Install PEAR in DIR [PREFIX/lib/php]