./configure \ --with-apxs2=/usr/bin/apxs2 \ --disable-cli \ --disable-cgi \ --with-config-file-path=/etc/php5/apache2 \ --with-config-file-scan-dir=/etc/php5/apache2/conf.d \ --disable-ipv6 \ --enable-bcmath \ --with-bz2 \ --enable-calendar \ --enable-dba \ --enable-exif \ --enable-ftp \ --with-gd \ --with-freetype \ --with-t1lib \ --with-zlib \ --with-jpeg \ --with-jpeg-dir=/usr/include \ --with-gettext \ --enable-mbstring \ --with-libmbfl \ --with-mcrypt \ --enable-memory-limit \ --with-mime-magic \ --with-mysql \ --with-mysqli \ --with-pdo-mysql \ --with-pcre-regex=/usr/include \ --enable-shmop \ --enable-soap \ --enable-sockets \ --enable-sysvmsg \ --enable-sysvsem \ --enable-sysvshm \ --enable-wddx