Skip to content

Instantly share code, notes, and snippets.

@balibali
Created October 21, 2010 10:48
Show Gist options
  • Save balibali/638281 to your computer and use it in GitHub Desktop.
Save balibali/638281 to your computer and use it in GitHub Desktop.
--- /Users/ogawa/php_configure_5.2.14 2010-10-21 16:22:00.000000000 +0900
+++ /Users/ogawa/php_configure_5.3.3 2010-10-21 15:31:38.000000000 +0900
@@ -45,6 +45,7 @@
--with-libdir=NAME Look for libraries in .../NAME rather than .../lib
--disable-rpath Disable passing additional runtime library
search paths
+ --enable-re2c-cgoto Enable -g flag to re2c to use computed goto gcc extension
SAPI modules:
@@ -74,7 +75,13 @@
DIR is path to the installed Continuity Server root
--enable-embed[=TYPE] EXPERIMENTAL: Enable building of embedded SAPI library
TYPE is either 'shared' or 'static'. [TYPE=shared]
+ --enable-fpm EXPERIMENTAL: Enable building of the fpm SAPI executable
+ --with-libevent-dir[=PATH] libevent install prefix, for fpm SAPI. (default: /usr/local)
+ --with-fpm-user[=USER] Set the user for php-fpm to run as. (default: nobody)
+ --with-fpm-group[=GRP] Set the group for php-fpm to run as. For a system user, this
+ should usually be set to match the fpm username (default: nobody)
--with-isapi[=DIR] Build PHP as an ISAPI module for use with Zeus
+ --with-litespeed Build PHP as litespeed module
--with-milter[=DIR] Build PHP as Milter application
--with-nsapi=DIR Build PHP as NSAPI module for Netscape/iPlanet/Sun Webserver
--with-phttpd=DIR Build PHP as phttpd module
@@ -86,15 +93,6 @@
--with-tux=MODULEDIR Build PHP as a TUX module (Linux only)
--with-webjames=SRCDIR Build PHP as a WebJames module (RISC OS only)
--disable-cgi Disable building CGI version of PHP
- --enable-fastcgi CGI: Enable FastCGI support in the CGI binary
- --enable-force-cgi-redirect
- CGI: Enable security check for internal server
- redirects. Use this if you run the PHP CGI with Apache
- --enable-discard-path CGI: When 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
- --disable-path-info-check CGI: If this is disabled, paths such as
- /info.php/test?a=b will fail to work
General settings:
@@ -131,12 +129,16 @@
--disable-all Disable all extensions which are enabled by default
+ --with-regex=TYPE regex library type: system, php. [TYPE=php]
+ WARNING: Do NOT use unless you know what you are doing!
--disable-libxml Disable LIBXML support
--with-libxml-dir[=DIR] LIBXML: libxml2 install prefix
--with-openssl[=DIR] Include OpenSSL support (requires OpenSSL >= 0.9.6)
--with-kerberos[=DIR] OPENSSL: Include Kerberos support
- --without-pcre-regex Do not include Perl Compatible Regular Expressions support.
+ --with-pcre-regex=DIR Include Perl Compatible Regular Expressions support.
DIR is the PCRE install prefix [BUNDLED]
+ --without-sqlite3[=DIR] Do not include SQLite3 support. DIR is the prefix to
+ SQLite3 installation directory.
--with-zlib[=DIR] Include ZLIB support (requires zlib >= 1.0.9)
--with-zlib-dir=<DIR> Define the location of zlib install directory
--enable-bcmath Enable bc style precision math functions
@@ -150,20 +152,20 @@
--with-qdbm[=DIR] DBA: QDBM support
--with-gdbm[=DIR] DBA: GDBM support
--with-ndbm[=DIR] DBA: NDBM support
- --with-db4[=DIR] DBA: Berkeley DB4 support
- --with-db3[=DIR] DBA: Berkeley DB3 support
- --with-db2[=DIR] DBA: Berkeley DB2 support
- --with-db1[=DIR] DBA: Berkeley DB1 support/emulation
+ --with-db4[=DIR] DBA: Oracle Berkeley DB 4.x or 5.x support
+ --with-db3[=DIR] DBA: Oracle Berkeley DB 3.x support
+ --with-db2[=DIR] DBA: Oracle Berkeley DB 2.x support
+ --with-db1[=DIR] DBA: Oracle Berkeley DB 1.x support/emulation
--with-dbm[=DIR] DBA: DBM support
--without-cdb[=DIR] DBA: CDB support (bundled)
--disable-inifile DBA: INI support (bundled)
--disable-flatfile DBA: FlatFile support (bundled)
- --enable-dbase Enable the bundled dbase library
--disable-dom Disable DOM support
--with-libxml-dir[=DIR] DOM: libxml2 install prefix
+ --with-enchant[=DIR] Include enchant support.
+ GNU Aspell version 1.1.3 or higher required.
--enable-exif Enable EXIF (metadata from images) support
- --with-fbsql[=DIR] Include FrontBase support. DIR is the FrontBase base directory
- --with-fdftk[=DIR] Include FDF support
+ --disable-fileinfo Disable fileinfo support
--disable-filter Disable input filter support
--with-pcre-dir FILTER: pcre install prefix
--enable-ftp Enable FTP support
@@ -174,13 +176,13 @@
--with-png-dir[=DIR] GD: Set the path to libpng install prefix
--with-zlib-dir[=DIR] GD: Set the path to libz install prefix
--with-xpm-dir[=DIR] GD: Set the path to libXpm install prefix
- --with-ttf[=DIR] GD: Include FreeType 1.x support
--with-freetype-dir[=DIR] GD: Set the path to FreeType 2 install prefix
--with-t1lib[=DIR] GD: Include T1lib support. T1lib version >= 5.0.0 required
--enable-gd-native-ttf GD: Enable TrueType string function
--enable-gd-jis-conv GD: Enable JIS-mapped Japanese font support
--with-gettext[=DIR] Include GNU gettext support
--with-gmp[=DIR] Include GNU MP support
+ --with-mhash[=DIR] Include mhash support
--disable-hash Disable hash support
--without-iconv[=DIR] Exclude iconv support
--with-imap[=DIR] Include IMAP support. DIR is the c-client install prefix
@@ -188,6 +190,8 @@
--with-imap-ssl[=DIR] IMAP: Include SSL support. DIR is the OpenSSL install prefix
--with-interbase[=DIR] Include InterBase support. DIR is the InterBase base
install directory [/usr/interbase]
+ --enable-intl Enable internationalization support
+ --with-icu-dir=DIR Specify where ICU libraries and headers can be found
--disable-json Disable JavaScript Object Serialization support
--with-ldap[=DIR] Include LDAP support
--with-ldap-sasl[=DIR] LDAP: Include Cyrus SASL support
@@ -197,26 +201,25 @@
MBSTRING: Disable multibyte regex backtrack check
--with-libmbfl[=DIR] MBSTRING: Use external libmbfl. DIR is the libmbfl base
install directory [BUNDLED]
+ --with-onig[=DIR] MBSTRING: Use external oniguruma. DIR is the oniguruma install prefix.
+ If DIR is not set, the bundled oniguruma will be used
--with-mcrypt[=DIR] Include mcrypt support
- --with-mhash[=DIR] Include mhash support
- --with-mime-magic[=FILE]
- Include mime_magic support (DEPRECATED!!)
- --with-ming[=DIR] Include MING support
- --with-msql[=DIR] Include mSQL support. DIR is the mSQL base
- install directory [/usr/local/Hughes]
--with-mssql[=DIR] Include MSSQL-DB support. DIR is the FreeTDS home
directory [/usr/local/freetds]
- --with-mysql[=DIR] Include MySQL support. DIR is the MySQL base directory
- --with-mysql-sock[=DIR] MySQL: Location of the MySQL unix socket pointer.
+ --with-mysql[=DIR] Include MySQL support. DIR is the MySQL base
+ directory. If mysqlnd is passed as DIR,
+ the MySQL native driver will be used [/usr/local]
+ --with-mysql-sock[=DIR] MySQL/MySQLi/PDO_MYSQL: Location of the MySQL unix socket pointer.
If unspecified, the default locations are searched
--with-zlib-dir[=DIR] MySQL: Set the path to libz install prefix
- --with-mysqli[=FILE] Include MySQLi support. FILE is the optional pathname
- to mysql_config [mysql_config]
+ --with-mysqli[=FILE] Include MySQLi support. FILE is the path
+ to mysql_config. If mysqlnd is passed as FILE,
+ the MySQL native driver will be used [mysql_config]
--enable-embedded-mysqli MYSQLi: Enable embedded support
- --with-ncurses[=DIR] Include ncurses support (CLI/CGI only)
+ Note: Does not work with MySQL native driver!
--with-oci8[=DIR] Include Oracle (OCI8) support. DIR defaults to $ORACLE_HOME.
- Use --with-oci8=instantclient,/path/to/oic/lib
- for an Oracle Instant Client installation
+ Use --with-oci8=instantclient,/path/to/instant/client/lib
+ to use an Oracle Instant Client installation
--with-adabas[=DIR] Include Adabas D support [/usr/local]
--with-sapdb[=DIR] Include SAP DB support [/usr/local]
--with-solid[=DIR] Include Solid support [/usr/local/solid]
@@ -243,11 +246,12 @@
--with-dbmaker[=DIR] Include DBMaker support
--enable-pcntl Enable pcntl support (CLI/CGI only)
--disable-pdo Disable PHP Data Objects support
- --with-pdo-dblib[=DIR] PDO: DBLIB-DB support. DIR is the FreeTDS home
- directory
+ --with-pdo-dblib[=DIR] PDO: DBLIB-DB support. DIR is the FreeTDS home directory
--with-pdo-firebird[=DIR] PDO: Firebird support. DIR is the Firebird base
install directory [/opt/firebird]
--with-pdo-mysql[=DIR] PDO: MySQL support. DIR is the MySQL base directory
+ If mysqlnd is passed as DIR, the MySQL native
+ native driver will be used [/usr/local]
--with-zlib-dir[=DIR] PDO_MySQL: Set the path to libz install prefix
--with-pdo-oci[=DIR] PDO: Oracle OCI support. DIR defaults to $ORACLE_HOME.
Use --with-pdo-oci=instantclient,prefix,version
@@ -258,7 +262,7 @@
PDO: Support for 'flavour' ODBC driver.
include and lib dirs are looked for under 'dir'.
- 'flavour' can be one of: ibm-db2, unixODBC, generic
+ 'flavour' can be one of: ibm-db2, iODBC, unixODBC, generic
If ',dir' part is omitted, default for the flavour
you have selected will used. e.g.:
@@ -278,13 +282,13 @@
install directory [BUNDLED]
--with-pgsql[=DIR] Include PostgreSQL support. DIR is the PostgreSQL
base install directory or the path to pg_config
+ --disable-phar Disable phar support
--disable-posix Disable POSIX-like functions
--with-pspell[=DIR] Include PSPELL support.
GNU Aspell version 0.50.0 or higher required
--with-libedit[=DIR] Include libedit readline replacement (CLI/CGI only)
--with-readline[=DIR] Include readline support (CLI/CGI only)
--with-recode[=DIR] Include recode support
- --disable-reflection Disable reflection support
--disable-session Disable session support
--with-mm[=DIR] SESSION: Include mm support for session storage
--enable-shmop Enable shmop support
@@ -296,14 +300,9 @@
--enable-soap Enable SOAP support
--with-libxml-dir=DIR SOAP: libxml2 install prefix
--enable-sockets Enable sockets support
- --disable-spl Disable Standard PHP Library
--without-sqlite=DIR Do not include sqlite support. DIR is the sqlite base
install directory [BUNDLED]
--enable-sqlite-utf8 SQLite: Enable UTF-8 support for SQLite
- --with-regex=TYPE regex library type: system, apache, php. [TYPE=php]
- WARNING: Do NOT use unless you know what you are doing!
- --with-sybase[=DIR] Include Sybase-DB support. DIR is the Sybase home
- directory [/home/sybase]
--with-sybase-ct[=DIR] Include Sybase-CT support. DIR is the Sybase home
directory [/home/sybase]
--enable-sysvmsg Enable sysvmsg support
@@ -329,6 +328,10 @@
install directory (libxslt >= 1.1.0 required)
--enable-zip Include Zip read/write support
--with-zlib-dir[=DIR] ZIP: Set the path to libz install prefix
+ --with-pcre-dir ZIP: pcre install prefix
+ --disable-mysqlnd-compression-support
+ Enable support for the MySQL compressed protocol in mysqlnd
+ --with-zlib-dir[=DIR] mysqlnd: Set the path to libz install prefix
PEAR:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment