-
Get the source from any mirror via
fetch http://bg2.php.net/get/php-5.3.0.tar.bz2/from/bg.php.net/mirror
- Untar/UnBzip2 it.
./configure \
--disable-all \
--prefix=/usr/local \
--with-zend-vm=CALL \
--with-apxs2=/usr/local/sbin/apxs \
--with-mysql=/usr/local \
--with-pgsql=/usr/local \
--with-tidy=/usr/local \
--with-curl=/usr/local/bin \
--with-curlwrappers \
--with-openssl-dir=/usr/local \
--with-zlib-dir=/usr/local \
--enable-mbstring \
--with-xpm-dir=/usr/local \
--with-pdo-pgsql=/usr/local \
--with-pdo-mysql=/usr/local \
--enable-pdo \
--with-xsl=/usr/local \
--with-ldap \
--with-xmlrpc \
--with-iconv-dir=/usr/local \
--enable-exif \
--with-bz2=/usr \
--with-mcrypt=/usr \
--with-gd \
--with-jpeg-dir=/usr/local \
--with-png-dir=/usr/local \
--with-zlib-dir=/usr/local \
--with-freetype-dir=/usr/local \
--enable-zip \
--enable-simplexml \
--with-pear\
--enable-zend-multibyte \
--disable-ipv6 \
--enable-libxml \
--enable-dom \
--enable-xml \
--without-ldap \
--enable-sockets \
--enable-sqlite-utf8 \
--with-config-file-scan-dir=/usr/local/etc/php \
--with-layout=GNU