./configure --prefix=/usr/local --sysconfdir=/etc/php --with-apxs2=/usr/bin/apxs \ --with-mysqli=/usr/bin/mysql_config \ --enable-discard-path --with-config-file-path=/etc/php-main/php.ini \ --with-config-file-scan-dir=/etc/php-main --with-openssl=/usr --with-kerberos --with-readline \ --with-zlib --with-bz2 --enable-bcmath --enable-calendar --with-curl \ --with-curlwrappers --with-db4 --with-inifile --with-flatfile \ --enable-dbase --enable-ftp --enable-exif --with-openssl-dir=/usr \ --with-gd --with-gdbm --with-gettext \ --with-shmop --with-unixODBC=/usr \ --with-ncurses --with-pspell \ --with-ldap --enable-soap --enable-sockets --enable-mbstring \ --enable-sqlite-utf8 --enable-sysvmsg --enable-sysvsem --enable-sysvshm \ --with-xmlreader --with-xsl --with-pear=/usr/local/pear --with-snmp \ --with-freetype-dir=/usr --with-rrdtool --with-ming=/usr/local \ --with-jpeg-dir=/usr --with-png-dir=/usr --with-pdo-mysql --with-mysql \ --with-mssql=/usr/local --with-gmp --enable-zip