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-debug Compile with debugging symbols
--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
--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
--with-cpdflib cpdflib >= 2
--disable-ctype ctype
--with-curl CURL support
--with-dba DBA support
--enable-dbase Enable the bundled dbase library
--enable-dbx Enable the bundled dbx library
--enable-dio Enable the direct I/O support
--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
--with-gettext gettext 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-mcve MCVE support
--with-mhash mhash support
--with-mime-magic Mime Magic support
--with-ming MING support
--with-msql MSQL support
--with-mssql mssql support
--with-mysql MySQL support
--with-mysqli MySQLi support
--with-oci8 OCI8 support
--disable-odbc ODBC support
--with-openssl OpenSSL support
--with-oracle ORACLE support
--without-pcre-regex Perl Compatible Regular Expressions
--with-pgsql PostgreSQL support
--with-pspell pspell/aspell (whatever it's called this
month) support
--disable-session session support
--enable-shmop shmop support
--with-snmp SNMP support
--enable-sockets SOCKETS support
--disable-spl SPL (Standard PHP Library) support
--without-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
--enable-activescript Build ActiveScript version of PHP
--enable-adt Advanced Data Types for PHP
--enable-apc Alternative PHP Cache
--enable-apd Alternative PHP Debugger
--enable-bcompiler BCOMPILER support
--enable-blenc enable blenc support
--enable-bz2-filter BZ2 filter support
--enable-classkit enable classkit support
--with-crack CRACKlib support
--with-cvsclient cvsclient support
--enable-date Date Support
--with-db DB support
--with-dbdo enable dbdo support
--enable-domxml DOMXML support
--enable-enchant Enchant Support
--enable-event enable event scheduler support
--with-ffi Foreign Function Interface Support
--with-freeimage FreeImage Support
--with-fribidi FRIBIDI support
--enable-hyperwave Enable Hyperwave support
--enable-id3 id3 support
--with-iisfunc IIS Function Support
--with-imagick Image Magick Support
--with-ixsfunc Index Server Function Support
--enable-lzf LZF support
--enable-lzf-better-compression trade off speed for better compression
ratio
--enable-memcache memcache support
--with-netools NETOOLS support
--enable-gopher gopher:// wrapper
--with-ntuser NT User API support
--enable-oggvorbis ogg.vorbis:// wrapper
--enable-parsekit enable parsekit support
--with-pdf PDF support
--enable-pdo Enable PHP Data Objects support
--with-perl Perl support (where to find Perl
interpriter)
--enable-phpdoc phpdoc support
--enable-pop3 pop3 support
--with-printer Printer Support
--with-python Embedded Python support
--with-radius Radius Support
--enable-rar Rar support
--with-sasl Cyrus SASL support
--with-smtp SMTP Support
--enable-stats statistics support
--with-threads THREADS support
--enable-translit for transliteration support
--enable-win32std Access to Win32 API's
--with-xdiff libxdiff support
--with-yaz YAZ support (ANSI/NISO Z39.50)
--with-zeroconf Rendezvous/OpenTalk Support
--with-zip ZIP support
--enable-zlib-filter ZLIB filter support
--with-java Java extension --with-java=[JAVAHOME]
--without-libxml LibXML support
--without-dom DOM support
--with-exif exif
--without-simplexml Simple XML support
--enable-soap SOAP support
--without-wddx WDDX support
--without-xml XML support
--with-xmlrpc XMLRPC-EPI support
--with-xsl xsl support
--enable-mailparse MAILPARSE support
--with-pdo-firebird Firebird support for PDO
--with-pdo-mysql MySQL support for PDO
--with-pdo-oci Oracle OCI support for PDO
--with-pdo-odbc ODBC support for PDO
--with-pdo-pgsql PostgreSQL support for PDO
--with-pdo-sqlite for pdo_sqlite support
--with-servlet Servlet --with-servlet=[JAVAHOME].
Requires that you have also built the java
extension shared too
--with-xmlreader XMLReader support
--with-xmlwriter XMLWriter support