#!/bin/sh CC="gcc" CFLAGS="-g -O3 -march=i686" export CFLAGS CC ./configure --prefix=/usr/local/php \ --with-apxs2=/usr/local/apache2/bin/apxs --with-mod_charset \ --with-config-file-path=/etc \ --with-openssl --with-kerberos --with-zlib --with-bz2 --with-jpeg-dir \ --with-curl --with-gd --with-jpeg-dir --with-png-dir \ --with-freetype-dir --with-ttf --enable-gd-native-ttf \ --with-imap --with-kerberos --with-imap-ssl \ --with-ldap --with-ldap-sasl --with-openssl-dir --with-mysql --with-pgsql \ --enable-bcmath --enable-calendar --enable-sigchild --enable-magic-quotes \ --enable-sockets --with-regex=php --enable-exif --enable-ftp --enable-mbstring \ --enable-pcntl --enable-shmop --enable-sysvshm --enable-zend-multibyte \ --enable-sysvmsg --enable-sysvsem --with-gmp --with-xmlrpc \ --with-ncurses --with-readline --enable-soap --with-gettext \ --with-tsrm-pthreads