PHP Compilations directives

This is a suggestion of compilation directive to use when compiling PHP specifically for the audited code.

The selection made below is based on the extension usage, found in the code (--enable, --with) and also the absence of usage (--disable, --without).

Some local extensions (--pdo-mysql, --with-libmbfl...) are also mentionned for help.

;;;;;;;;;;;;;;;;;;;;;;;;
; PHP configure list   ;
;;;;;;;;;;;;;;;;;;;;;;;;

./configure
 --with-apxs2
   
 --disable-ctype
 --disable-fileinfo
 --without-iconv
 --enable-mbstring
   --with-libmbfl=DIR
    --enable-mbstr-enc-trans
    --disable-mbregex
  --with-mcrypt=[DIR]
 --with-openssl[=DIR]
 --disable-pdo
 --disable-posix
 --enable-simplexml
 --without-sqlite3
 --disable-tokenizer
 --disable-xml
 --disable-xmlreader
 --with-xmlrpc[=DIR]
 --enable-zip
   --with-libzip=DIR

; For debug purposes
;--enable-dtrace
;--disable-phpdbg

;--enable-zend-signals
;--disable-opcache