D:\work\dev\php-5.1.6>cscript /nologo configure.js --help
Options that enable extensions and SAPI will accept 'yes' or 'no' as a
parameter. They also accept 'shared' as a synonym for 'yes' and request a
shared build of that module. Not all modules can be built as shared modules;
configure will display [shared] after the module name if can be built that
way.

  --enable-snapshot-build        Build a snapshot; turns on everything it can
                                 and ignores build errors
  --enable-one-shot              Optimize for fast build - best for release
                                 and snapshot builders, not so hot for
                                 edit-and-rebuild hacking
  --with-cygwin                  Path to cygwin utilities on your system
  --enable-object-out-dir        Alternate location for binary objects during
                                 build
  --enable-debug                 Compile with debugging symbols
  --enable-debug-pack            Release binaries with external debug symbols
                                 (--enable-debug must not be specified)
  --disable-zts                  Thread safety
  --enable-prefix                where PHP will be installed
  --with-php-build               Path to where you extracted
                                 http://www.php.net/extra/win32build.zip.
                                 Assumes that it is a sibling of this source
                                 dir (..\php_build) if not specified
  --with-extra-includes          Extra include path to use when building
                                 everything
  --with-extra-libs              Extra library path to use when linking
                                 everything
  --disable-ipv6                 Disable IPv6 support (default is turn it on
                                 if available)
  --enable-fd-setsize            Set maximum number of sockets for select(2)
  --enable-memory-limit          Enable memory limit checking code
  --disable-memory-manager       Enable Zend memory manager
  --enable-zend-multibyte        Enable Zend multibyte encoding support
  --with-snapshot-template       Path to snapshot builder template dir
  --with-aolserver               Build AOLserver support
  --enable-apache                Build Apache 1.3.x version of PHP
  --with-apache-includes         Where to find Apache 1.3 headers
  --with-apache-libs             Where to find Apache 1.3 libraries
  --enable-apache2handler        Build Apache 2.x handler
  --with-apache-hooks            Build Apache 1.3.x (hooks) version of PHP
  --disable-cgi                  Build CGI version of PHP
  --disable-fastcgi              Build FastCGI support into CGI binary
  --disable-path-info-check      If this is disabled, paths such as
                                 /info.php/test?a=b will fail to work
  --disable-force-cgi-redirect   Enable the security check for internal server
                                 redirects. You should use this if you are
                                 running the CGI version with Apache.
  --disable-cli                  Build CLI version of PHP
  --enable-crt-debug             Extra CRT debugging
  --enable-cli-win32             Build console-less CLI version of PHP
  --enable-embed                 Embedded SAPI library
  --enable-isapi                 Build ISAPI version of PHP
  --enable-nsapi                 Build NSAPI for Netscape/iPlanet/SunONE
                                 webservers
  --with-nsapi-includes          Where to find NSAPI headers
  --with-nsapi-libs              Where to find NSAPI libraries
  --with-pi3web                  Pi3Web
  --disable-bcmath               bc style precision math functions
  --with-bz2                     BZip2
  --disable-calendar             calendar conversion support
  --disable-com-dotnet           COM and .Net support
  --disable-ctype                ctype
  --with-curl                    CURL support
  --with-dba                     DBA support
  --enable-dbase                 Enable the bundled dbase library
  --with-fbsql                   FrontBase support
  --with-fdf                     Include FDF support.
  --enable-filepro               Enable the bundled read-only filePro support.
  --disable-ftp                  ftp support
  --without-gd                   Bundled GD support
  --without-t1lib                t1lib support
  --with-gettext                 gettext support
  --with-gmp                     Include GNU MP support.
  --disable-hash                 enable hash support
  --without-iconv                iconv support
  --with-imap                    IMAP Support
  --with-informix                informix support
  --with-interbase               InterBase support
  --with-ldap                    LDAP support
  --enable-mbstring              multibyte string functions
  --enable-mbregex               multibyte regex support
  --with-mcrypt                  mcrypt support
  --with-mhash                   mhash support
  --with-mime-magic              Mime Magic support
  --with-ming                    MING support
  --with-msql                    MSQL support
  --with-mssql                   mssql support
  --with-dblib                   mssql support with freetds
  --with-mysql                   MySQL support
  --with-mysqli                  MySQLi support
  --with-oci8                    OCI8 support
  --disable-odbc                 ODBC support
  --with-openssl                 OpenSSL support
  --without-pcre-regex           Perl Compatible Regular Expressions
  --with-pgsql                   PostgreSQL support
  --with-pspell                  pspell/aspell (whatever it's called this
                                 month) support
  --disable-reflection           disable reflection support
  --disable-session              session support
  --enable-shmop                 shmop support
  --with-snmp                    SNMP support
  --enable-sockets               SOCKETS support
  --disable-spl                  SPL (Standard PHP Library) support
  --with-sqlite                  SQLite support
  --with-config-file-scan-dir    Dir to check for additional php ini files
  --with-sybase-ct               SYBASE_CT support
  --with-tidy                    TIDY support
  --disable-tokenizer            tokenizer support
  --disable-zlib                 ZLIB support
  --without-libxml               LibXML support
  --without-dom                  DOM support
  --enable-exif                  exif
  --enable-pdo                   Enable PHP Data Objects support
  --with-pdo-dblib               freetds dblib (Sybase, MS-SQL) support for
                                 PDO
  --with-pdo-mssql               Native MS-SQL support for PDO
  --with-pdo-firebird            Firebird support for PDO
  --with-pdo-mysql               MySQL support for PDO
  --with-pdo-oci                 Oracle OCI support for PDO
  --with-pdo-oci8                Oracle OCI 8 (only) support for PDO
  --with-pdo-odbc                ODBC support for PDO
  --with-pdo-pgsql               PostgreSQL support for PDO
  --with-pdo-sqlite              for pdo_sqlite support
  --without-simplexml            Simple XML support
  --enable-soap                  SOAP support
  --without-wddx                 WDDX support
  --without-xml                  XML support
  --disable-xmlreader            XMLReader support
  --with-xmlrpc                  XMLRPC-EPI support
  --disable-xmlwriter            XMLWriter support
  --with-xsl                     xsl support

D:\work\dev\php-5.1.6>
