These are being classified over time, where appropriate.
-with-gmp
PHP 3, PHP 4 : Include GMP support.
-disable-bcmath
PHP 3: Compile without BC arbitrary precision math functions. These functions allow you to operate with numbers outside of the ranges allowed by regular integers and floats; seeBCMath Arbitrary Precision Mathematics Functions for more information.
PHP 4: Option not available; bcmath is not compiled in by default. Use–enable-bcmathto compile it in.
-disable-display-source
PHP 3: Compile without displaying source support PHP 4: Option not available in PHP 4
-disable-libtool-lock
PHP 3: Option not available in PHP 3
PHP 4: avoid locking (might break parallel builds)
-disable-pear
PHP 3: Option not available in PHP 3 PHP 4: Do not install PEAR
-disable-pic
PHP 3: Option not available in PHP 3 PHP 4: Disable PIC for shared objects
-disable-posix
PHP 3: Option not available in PHP 3; use–without-posixinstead.
PHP 4: Disable POSIX-like functions
-disable-rpath
PHP 3: Option not available in PHP 3
PHP 4: Disable passing additional runtime library search paths
-disable-session
PHP 3: Option not available in PHP 3 PHP 4: Disable session support
-enable-bcmath
PHP 3: Option not available in PHP 3; bcmath is compiled in by default. Use–disable-bcmathto disable it.
PHP 4: Compile with bc style precision math functions. Read README-BCMATH for instructions on how to get this module installed. These functions allow you to operate with numbers outside of the ranges allowed by regular integers and floats; seeBCMath Arbitrary Precision Mathematics Functionsfor more information.
-enable-c9x-inline
PHP 3: Option not available in PHP 3 PHP 4: Enable C9x-inline semantics
-enable-calendar
PHP 3: Option not available in PHP 3
PHP 4: Enable support for calendar conversion
-enable-debug
PHP 3, PHP 4: Compile with debugging symbols.
-enable-debugger
PHP 3: Compile with remote debugging functions PHP 4: Option not available in PHP 4
Chapter 2. Installation
-enable-discard-path
PHP 3, PHP 4: If this is enabled, the PHP CGI binary can safely be placed outside of the web tree and people will not be able to circumvent .htaccess security.
-enable-dmalloc
PHP 3, PHP 4: Enable dmalloc -enable-exif
PHP 3: Option not available in PHP 3 PHP 4: Enable exif support
-enable-experimental-zts PHP 3: Option not available in PHP 3 PHP 4: This will most likely break your build
-enable-fast-install[=PKGS]
PHP 3: Option not available in PHP 3
PHP 4: optimize for fast installation [default=yes]
-enable-force-cgi-redirect
PHP 3, PHP 4: Enable the security check for internal server redirects. You should use this if you are running the CGI version with Apache.
-enable-inline-optimization PHP 3: Option not available in PHP 3
PHP 4: If you have much memory and are using gcc, you might try this.
-enable-libgcc
PHP 3: Option not available in PHP 3 PHP 4: Enable explicitly linking against libgcc
-enable-maintainer-mode
PHP 3, PHP 4: enable make rules and dependencies not useful (and sometimes confusing) to the casual installer -enable-memory-limit
PHP 3, PHP 4: Compile with memory limit support. [default=no]
-enable-safe-mode
PHP 3, PHP 4: Enable safe mode by default.
-enable-satellite
PHP 3: Option not available in PHP 3
PHP 4: Enable CORBA support via Satellite (Requires ORBit)
-enable-shared[=PKGS]
PHP 3: Option not available in PHP 3 PHP 4: build shared libraries [default=yes]
-enable-sigchild
PHP 3, PHP 4: Enable PHP’s own SIGCHLD handler.
-enable-static[=PKGS]
PHP 3: Option not available in PHP 3 PHP 4: build static libraries [default=yes]
-enable-sysvsem
PHP 3, PHP 4: Enable System V semaphore support.
-enable-sysvshm
PHP 3, PHP 4: Enable the System V shared memory support -enable-trans-sid
PHP 3: Option not available in PHP 3
PHP 4: Enable transparent session id propagation
-with-cdb[=DIR]
PHP 3, PHP 4: Include CDB support -with-config-file-path=PATH
PHP 3: Sets the path in which to look for php3.ini. Defaults to/usr/local/lib PHP 4: Sets the path in which to look forphp.ini. Defaults to/usr/local/lib
-with-cpdflib[=DIR]
PHP 3: Include ClibPDF support. DIR is the ClibPDF install directory, defaults to /usr/local.
PHP 4: Include cpdflib support (requires cpdflib >= 2). DIR is the cpdfllib install directory, defaults to /usr.
-with-esoob[=DIR]
PHP 3: Option not available in PHP 3
PHP 4: Include Easysoft OOB support. DIR is the OOB base install directory, defaults to /usr/local/easysoft/oob/client.
-with-exec-dir[=DIR]
PHP 3, PHP 4: Only allow executables in DIR when in safe mode defaults to /usr/local/php/bin -with-fdftk[=DIR]
PHP 3, PHP 4: Include fdftk support. DIR is the fdftk install directory, defaults to /usr/local.
-with-gnu-ld
PHP 3: Option not available in PHP 3
Chapter 2. Installation
PHP 4: assume the C compiler uses GNU ld [default=no]
-with-icap[=DIR]
PHP 3: Option not available in PHP 3 PHP 4: Include ICAP support.
-with-imap[=DIR]
PHP 3, PHP 4: Include IMAP support. DIR is the IMAP include and c-client.a directory.
-with-imsp[=DIR]
PHP 3: Include IMSP support (DIR is IMSP’s include dir and libimsp.a dir).
PHP 4: Option not available in PHP 4
-with-java[=DIR]
PHP 3: Option not available in PHP 3
PHP 4: Include Java support. DIR is the base install directory for the JDK. This extension can only be built as a shared dl.
-with-kerberos[=DIR]
PHP 3: Option not available in PHP 3 PHP 4: Include Kerberos support in IMAP.
-with-mcal[=DIR]
PHP 3, PHP 4: Include MCAL support.
-with-mcrypt[=DIR]
PHP 3, PHP 4: Include mcrypt support. DIR is the mcrypt install directory.
-with-mhash[=DIR]
PHP 3, PHP 4: Include mhash support. DIR is the mhash install directory.
-with-mm[=DIR]
PHP 3: Option not available in PHP 3
PHP 4: Include mm support for session storage
-with-mod_charset
PHP 3, PHP 4: Enable transfer tables for mod_charset (Rus Apache).
-with-pdflib[=DIR]
PHP 3: Include pdflib support (tested with 0.6 and 2.0). DIR is the pdflib install directory, which defaults to /usr/local.
PHP 4: Include pdflib 3.x support. DIR is the pdflib install directory, which defaults to/usr/local.
-enable-shared-pdflib
PHP 3, PHP 4: Activate pdflib as shared librairy.
-with-readline[=DIR]
PHP 3: Option not available in PHP 3
PHP 4: Include readline support. DIR is the readline install directory.
-with-regex=TYPE
PHP 3: Option not available in PHP 3
PHP 4: regex library type: system, apache, php
-with-servlet[=DIR]
PHP 3: Option not available in PHP 3
PHP 4: Include servlet support. DIR is the base install directory for the JSDK. This SAPI requires that the Java extension be built as a shared dl.
-with-swf[=DIR]
PHP 3: Option not available in PHP 3 PHP 4: Include swf support
-with-system-regex
PHP 3: Do not use the bundled regex library PHP 4: (deprecated) Use system regex library
-with-tsrm-pth[=pth-config]
PHP 3: Option not available in PHP 3 PHP 4: Use GNU Pth.
-with-tsrm-pthreads
PHP 3: Option not available in PHP 3 PHP 4: Use POSIX threads (default)
-with-x
PHP 3: use the X Window System PHP 4: Option not available in PHP 4
-with-bzip[=DIR]
PHP 3, PHP 4: Include support bzip2. DIR is the bzip2 install dir.
-with-zlib-dir[=DIR]
PHP 3: zlib dir for pdflib 2.0 or include zlib support
Chapter 2. Installation
PHP 4: zlib dir for pdflib 3.x or include zlib support
-with-zlib[=DIR]
PHP 3, PHP 4: Include zlib support (requires zlib >= 1.0.9). DIR is the zlib install directory, defaults to /usr.
-without-pcre-regex
PHP 3: Don’t include Perl Compatible Regular Expressions support
PHP 4: Do not include Perl Compatible Regular Expressions support. Use –with-pcre-regex=DIR to specify DIR where PCRE’s include and library files are located, if not using bundled library.
-without-posix
PHP 3: Don’t include POSIX functions
PHP 4: Option not available in PHP 4; use–disable-posixinstead.