./configure \ --disable-cgi \ --enable-so \ --prefix=/usr/local/php \ --enable-ctype \ --enable-dom \ --enable-ftp \ --enable-hash \ --enable-libxml \ --enable-pdo \ --enable-posix \ --enable-spl \ --enable-tokenizer \ --enable-soap \ --enable-session \ --enable-reflection \ --enable-simplexml \ --enable-xml \ --enable-xmlreader \ --enable-xmlwriter \ --with-ctype \ --with-curl=/usr/local/curl \ --with-date \ --with-dom \ --with-gd \ --with-gettext \ --with-iconv \ --with-mbstring \ --with-pcre \ --with-pdf \ --with-pgsql=/usr/local/postgresql \ --with-pdo-pgsql=/usr/local/postgresql \ --with-session \ --with-tidy \ --with-tokenizer \ --with-zlib \ --with-xml \ --with-libxml \ --with-png-dir=/usr/local/libpng \ --without-sqlite \ --with-apxs2=/usr/local/apache/bin/apxs