#!/bin/bash

EXTENSION_DIR=/usr/lib/php/extensions \
./configure --prefix=/usr \
--sysconfdir=/etc \
--enable-discard-path \
--with-config-file-path=/etc/apache \
--with-openssl \
--with-mhash \
--enable-bcmath \
--with-bz2 \
--with-zlib=/usr \
--enable-calendar \
--enable-ctype \
--with-gdbm \
--with-db3 \
--with-imap=/usr/local/lib/c-client \
--with-imap-ssl=/usr/local/lib/c-client \
--enable-dbase \
--enable-ftp \
--with-iconv \
--with-exif \
--enable-exif \
--with-freetype-dir=/usr \
--with-gd \
--enable-gd-native-ttf \
--with-jpeg-dir=/usr \
--with-tiff-dir=/usr \
--with-png-dir=/usr \
--with-xpm-dir=/usr \
--enable-mbstring \
--with-curl=/usr \
--with-pcre-regex=/usr \
--enable-dba \
--with-gettext=shared,/usr \
--enable-wddx \
--with-apxs2=/usr/sbin/apxs \
--enable-magic-quotes \
--with-expat \
--with-xml \
--enable-force-cgi-redirect \
--enable-pcntl \
--enable-sigchild \
--enable-fastcgi \
--enable-trans-sid \
--enable-shmop \
--enable-sockets \
--with-regex=php \
--enable-sysvsem \
--enable-sysvshm \
--enable-memory-limit \
--with-tsrm-pthreads \
--enable-shared \
--with-pgsql=shared,/usr \
--with-mysql=shared,/usr \
--with-mysql-sock=/var/run/mysql/mysql.sock \
--disable-debug
