- --enable-force-cgi-redirect
Enable the security check for internal server redirects. You should use this
if you are running the CGI version with Apache.
- --enable-discard-path
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.
- --with-fastcgi=SRCDIR
Build PHP as FastCGI application.
- --enable-debug
Compile with debugging symbols.
- --with-layout=TYPE
Sets how installed files will be laid out. Type is one of PHP (default) or GNU.
- --with-pear=DIR
Install PEAR in DIR (default PREFIX/lib/php).
- --without-pear
Do not install PEAR.
- --with-openssl[=DIR]
Include OpenSSL support (requires OpenSSL >= 0.9.5).
- --enable-sigchild
Enable PHP's own SIGCHLD handler.
- --disable-rpath
Disable passing additional runtime library search paths.
- --enable-libgcc
Enable explicitly linking against libgcc.
- --enable-dmalloc
Enable dmalloc.
- --enable-php-streams
Include experimental php streams. Do not use unless you are testing the code!
- --with-zlib-dir=<DIR>
Define the location of zlib install directory.
- --with-zlib[=DIR]
Include zlib support (requires zlib >= 1.0.9). DIR is the zlib install directory.
- --with-aspell[=DIR]
Include ASPELL support.
- --enable-bcmath
Enable bc style precision math functions.
- --with-bz2[=DIR]
Include BZip2 support.
- --enable-calendar
Enable support for calendar conversion.
- --with-ccvs[=DIR]
Include CCVS support.
- --with-crack[=DIR]
Include crack support.
- --enable-ctype
Enable ctype support.
- --with-curl[=DIR]
Include CURL support.
- --with-cybercash[=DIR]
Include CyberCash support. DIR is the CyberCash MCK install directory.
- --with-cybermut[=DIR]
Include CyberMut (French Credit Mutuel telepaiement).
- --with-cyrus
Include cyrus IMAP support.
- --enable-exif
Enable exif support.
- --with-fdftk[=DIR]
Include fdftk support.
- --enable-ftp
Enable FTP support.
- --with-gettext[=DIR]
Include GNU gettext support. DIR is the gettext install directory,
defaults to /usr/local.
- --with-gmp
Include gmp support.
- --with-hyperwave
Include Hyperwave support.
- --with-icap[=DIR]
Include ICAP support.
- --with-iconv[=DIR]
Include iconv support.
- --with-imap[=DIR]
Include IMAP support. DIR is the c-client install prefix.
- --with-kerberos[=DIR]
IMAP: Include Kerberos support. DIR is the Kerberos install dir.
- --with-imap-ssl[=DIR]
IMAP: Include SSL support. DIR is the OpenSSL install dir.
- --with-ircg-config
Path to the ircg-config script.
- --with-ircg
Include ircg support.
- --with-java[=DIR]
Include Java support. DIR is the base install directory for the JDK.
This extension can only be built as a shared dl.
- --with-ldap[=DIR]
Include LDAP support. DIR is the LDAP base install directory.
- --enable-mailparse
Enable mailparse support.
- --enable-mbstring
Enable multibyte string support.
- --enable-mbstr-enc-trans
Enable japanese encoding translation.
- --with-mcal[=DIR]
Include MCAL support.
- --with-mcrypt[=DIR]
Include mcrypt support. DIR is the mcrypt install directory.
- --with-mhash[=DIR]
Include mhash support. DIR is the mhash install directory.
- --with-mnogosearch[=DIR]
Include mnoGoSearch support. DIR is the mnoGoSearch base install directory,
defaults to /usr/local/mnogosearch.
- --with-muscat[=DIR]
Include muscat support.
- --with-ncurses
Include ncurses support.
- --enable-pcntl
Enable experimental pcntl support (CGI ONLY!)
- --without-pcre-regex
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.
- --with-pfpro[=DIR]
Include Verisign Payflow Pro support.
- --disable-posix
Disable POSIX-like functions.
- --with-pspell[=DIR]
Include PSPELL support.
- --with-qtdom
Include QtDOM support (requires Qt >= 2.2.0).
- --with-libedit[=DIR]
Include libedit readline replacement.
- --with-readline[=DIR]
Include readline support. DIR is the readline install directory.
- --with-recode[=DIR]
Include recode support. DIR is the recode install directory.
- --with-satellite[=DIR]
Enable CORBA support via Satellite (EXPERIMENTAL) DIR is the base
directory for ORBit.
- --with-mm[=DIR]
Include mm support for session storage.
- --enable-trans-sid
Enable transparent session id propagation.
- --disable-session
Disable session support.
- --enable-shmop
Enable shmop support.
- --with-snmp[=DIR]
Include SNMP support. DIR is the SNMP base install directory, defaults to
searching through a number of common locations for the snmp install. Set DIR
to shared to build as a dl, or shared,DIR to build as a dl and still specify DIR.
- --enable-ucd-snmp-hack
Enable UCD SNMP hack.
- --enable-sockets
Enable sockets support.
- --with-regex=TYPE
regex library type: system, apache, php.
- --with-system-regex
Use system regex library (deprecated).
- --enable-sysvsem
Enable System V semaphore support.
- --enable-sysvshm
Enable the System V shared memory support.
- --with-vpopmail[=DIR]
Include vpopmail support.
- --with-tsrm-pthreads
Use POSIX threads (default).
- --enable-shared[=PKGS]
Build shared libraries [default=yes].
- --enable-static[=PKGS]
Build static libraries [default=yes].
- --enable-fast-install[=PKGS]
Optimize for fast installation [default=yes].
- --with-gnu-ld
Assume the C compiler uses GNU ld [default=no].
- --disable-libtool-lock
Avoid locking (might break parallel builds).
- --with-pic
Try to use only PIC/non-PIC objects [default=use both].
- --with-yaz[=DIR]
Include YAZ support (ANSI/NISO Z39.50).
DIR is the YAZ bin install directory.
- --enable-memory-limit
Compile with memory limit support.
- --disable-url-fopen-wrapper
Disable the URL-aware fopen wrapper that allows
accessing files via HTTP or FTP.
- --enable-versioning
Export only required symbols.
See INSTALL for more information.
- --disable-bcmath
Compile without bc style precision math functions. PHP 3 only!
- --with-imsp[=DIR]
Include IMSp support (DIR is IMSP's include dir and libimsp.a dir).
PHP 3 only!
- --with-ftp
Include FTP support. PHP 3 only!
- --with-mck[=DIR]
Include Cybercash MCK support. DIR is the cybercash
mck build directory, defaults to
/usr/src/mck-3.2.0.3-linux for help look in
extra/cyberlib. PHP 3 only!
- --disable-overload
Disable user-space object overloading support. PHP 3 only!
- --enable-yp
Include YP support. PHP 3 only!
- --with-zip
Include ZIP support (requires zziplib >= 0.10.6).
PHP 3 only!
- --with-mod-dav=DIR
Include DAV support through Apache's mod_dav,
DIR is mod_dav's installation directory (Apache
module version only!) PHP 3 only!
- --enable-debugger
Compile with remote debugging functions. PHP 3 only!
- --enable-versioning
Take advantage of versioning and scoping
provided by Solaris 2.x and Linux. PHP 3 only!