--prefix=/path/to/php --with-apxs2=/path/to/apache/bin/apxs --with-mysql --with-pdo-mysql --enable-soap --with-mysqli=/usr/bin/mysql_config --enable-mbstring --with-gettext --disable-short-tags --with-zlib --enable-bcmath --enable-calendar --with-curl --with-curlwrappers --enable-exif --with-gd --with-png --with-ttf --enable-gd-native-ttf --with-freetype --with-xpm --enable-sockets