1 --with-EXTENSION=[shared[,PATH]]
2
3 NOTE: Not all extensions can be build as 'shared'.
4
5 Example: --with-foobar=shared,/usr/local/foobar/
6
7 o Builds the foobar extension as shared extension.
8 o foobar package install prefix is /usr/local/foobar/
9
10
11 --disable-all Disable all extensions which are enabled by default
12
13 --with-regex=TYPE regex library type: system, php. [TYPE=php]
14 WARNING: Do NOT use unless you know what you are doing!
15 --disable-libxml Disable LIBXML support
16 --with-libxml-dir[=DIR] LIBXML: libxml2 install prefix
17 --with-openssl[=DIR] Include OpenSSL support (requires OpenSSL >= 0.9.6)
18 --with-kerberos[=DIR] OPENSSL: Include Kerberos support
19 --with-pcre-regex=DIR Include Perl Compatible Regular Expressions support.
20 DIR is the PCRE install prefix [BUNDLED]
21 --without-sqlite3[=DIR] Do not include SQLite3 support. DIR is the prefix to
22 SQLite3 installation directory.
23 --with-zlib[=DIR] Include ZLIB support (requires zlib >= 1.0.9)
24 --with-zlib-dir=<DIR> Define the location of zlib install directory
25 --enable-bcmath Enable bc style precision math functions
26 --with-bz2[=DIR] Include BZip2 support
27 --enable-calendar Enable support for calendar conversion
28 --disable-ctype Disable ctype functions
29 --with-curl[=DIR] Include cURL support
30 --with-curlwrappers EXPERIMENTAL: Use cURL for url streams
31 --enable-dba Build DBA with bundled modules. To build shared DBA
32 extension use --enable-dba=shared
33 --with-qdbm[=DIR] DBA: QDBM support
34 --with-gdbm[=DIR] DBA: GDBM support
35 --with-ndbm[=DIR] DBA: NDBM support
36 --with-db4[=DIR] DBA: Oracle Berkeley DB 4.x or 5.x support
37 --with-db3[=DIR] DBA: Oracle Berkeley DB 3.x support
38 --with-db2[=DIR] DBA: Oracle Berkeley DB 2.x support
39 --with-db1[=DIR] DBA: Oracle Berkeley DB 1.x support/emulation
40 --with-dbm[=DIR] DBA: DBM support
41 --without-cdb[=DIR] DBA: CDB support (bundled)
42 --disable-inifile DBA: INI support (bundled)
43 --disable-flatfile DBA: FlatFile support (bundled)
44 --disable-dom Disable DOM support
45 --with-libxml-dir[=DIR] DOM: libxml2 install prefix
46 --with-enchant[=DIR] Include enchant support.
47 GNU Aspell version 1.1.3 or higher required.
48 --enable-exif Enable EXIF (metadata from images) support
49 --disable-fileinfo Disable fileinfo support
50 --disable-filter Disable input filter support
51 --with-pcre-dir FILTER: pcre install prefix
52 --enable-ftp Enable FTP support
53 --with-openssl-dir[=DIR] FTP: openssl install prefix
54 --with-gd[=DIR] Include GD support. DIR is the GD library base
55 install directory [BUNDLED]
56 --with-jpeg-dir[=DIR] GD: Set the path to libjpeg install prefix
57 --with-png-dir[=DIR] GD: Set the path to libpng install prefix
58 --with-zlib-dir[=DIR] GD: Set the path to libz install prefix
59 --with-xpm-dir[=DIR] GD: Set the path to libXpm install prefix
60 --with-freetype-dir[=DIR] GD: Set the path to FreeType 2 install prefix
61 --with-t1lib[=DIR] GD: Include T1lib support. T1lib version >= 5.0.0 required
62 --enable-gd-native-ttf GD: Enable TrueType string function
63 --enable-gd-jis-conv GD: Enable JIS-mapped Japanese font support
64 --with-gettext[=DIR] Include GNU gettext support
65 --with-gmp[=DIR] Include GNU MP support
66 --with-mhash[=DIR] Include mhash support
67 --disable-hash Disable hash support
68 --without-iconv[=DIR] Exclude iconv support
69 --with-imap[=DIR] Include IMAP support. DIR is the c-client install prefix
70 --with-kerberos[=DIR] IMAP: Include Kerberos support. DIR is the Kerberos install prefix
71 --with-imap-ssl[=DIR] IMAP: Include SSL support. DIR is the OpenSSL install prefix
72 --with-interbase[=DIR] Include InterBase support. DIR is the InterBase base
73 install directory [/usr/interbase]
74 --enable-intl Enable internationalization support
75 --with-icu-dir=DIR Specify where ICU libraries and headers can be found
76 --disable-json Disable JavaScript Object Serialization support
77 --with-ldap[=DIR] Include LDAP support
78 --with-ldap-sasl[=DIR] LDAP: Include Cyrus SASL support
79 --enable-mbstring Enable multibyte string support
80 --disable-mbregex MBSTRING: Disable multibyte regex support
81 --disable-mbregex-backtrack
82 MBSTRING: Disable multibyte regex backtrack check
83 --with-libmbfl[=DIR] MBSTRING: Use external libmbfl. DIR is the libmbfl base
84 install directory [BUNDLED]
85 --with-onig[=DIR] MBSTRING: Use external oniguruma. DIR is the oniguruma install prefix.
86 If DIR is not set, the bundled oniguruma will be used
87 --with-mcrypt[=DIR] Include mcrypt support
88 --with-mssql[=DIR] Include MSSQL-DB support. DIR is the FreeTDS home
89 directory [/usr/local/freetds]
90 --with-mysql[=DIR] Include MySQL support. DIR is the MySQL base
91 directory. If mysqlnd is passed as DIR,
92 the MySQL native driver will be used [/usr/local]
93 --with-mysql-sock[=DIR] MySQL/MySQLi/PDO_MYSQL: Location of the MySQL unix socket pointer.
94 If unspecified, the default locations are searched
95 --with-zlib-dir[=DIR] MySQL: Set the path to libz install prefix
96 --with-mysqli[=FILE] Include MySQLi support. FILE is the path
97 to mysql_config. If mysqlnd is passed as FILE,
98 the MySQL native driver will be used [mysql_config]
99 --enable-embedded-mysqli MYSQLi: Enable embedded support
100 Note: Does not work with MySQL native driver!
101 --with-oci8[=DIR] Include Oracle Database OCI8 support. DIR defaults to $ORACLE_HOME.
102 Use --with-oci8=instantclient,/path/to/instant/client/lib
103 to use an Oracle Instant Client installation
104 --with-adabas[=DIR] Include Adabas D support [/usr/local]
105 --with-sapdb[=DIR] Include SAP DB support [/usr/local]
106 --with-solid[=DIR] Include Solid support [/usr/local/solid]
107 --with-ibm-db2[=DIR] Include IBM DB2 support [/home/db2inst1/sqllib]
108 --with-ODBCRouter[=DIR] Include ODBCRouter.com support [/usr]
109 --with-empress[=DIR] Include Empress support [$EMPRESSPATH]
110 (Empress Version >= 8.60 required)
111 --with-empress-bcs[=DIR]
112 Include Empress Local Access support [$EMPRESSPATH]
113 (Empress Version >= 8.60 required)
114 --with-birdstep[=DIR] Include Birdstep support [/usr/local/birdstep]
115 --with-custom-odbc[=DIR]
116 Include user defined ODBC support. DIR is ODBC install base
117 directory [/usr/local]. Make sure to define CUSTOM_ODBC_LIBS and
118 have some odbc.h in your include dirs. f.e. you should define
119 following for Sybase SQL Anywhere 5.5.00 on QNX, prior to
120 running this configure script:
121 CPPFLAGS="-DODBC_QNX -DSQLANY_BUG"
122 LDFLAGS=-lunix
123 CUSTOM_ODBC_LIBS="-ldblib -lodbc"
124 --with-iodbc[=DIR] Include iODBC support [/usr/local]
125 --with-esoob[=DIR] Include Easysoft OOB support [/usr/local/easysoft/oob/client]
126 --with-unixODBC[=DIR] Include unixODBC support [/usr/local]
127 --with-dbmaker[=DIR] Include DBMaker support
128 --enable-pcntl Enable pcntl support (CLI/CGI only)
129 --disable-pdo Disable PHP Data Objects support
130 --with-pdo-dblib[=DIR] PDO: DBLIB-DB support. DIR is the FreeTDS home directory
131 --with-pdo-firebird[=DIR] PDO: Firebird support. DIR is the Firebird base
132 install directory [/opt/firebird]
133 --with-pdo-mysql[=DIR] PDO: MySQL support. DIR is the MySQL base directory
134 If mysqlnd is passed as DIR, the MySQL native
135 native driver will be used [/usr/local]
136 --with-zlib-dir[=DIR] PDO_MySQL: Set the path to libz install prefix
137 --with-pdo-oci[=DIR] PDO: Oracle OCI support. DIR defaults to $ORACLE_HOME.
138 Use --with-pdo-oci=instantclient,prefix,version
139 for an Oracle Instant Client SDK.
140 For example on Linux with 11.2 RPMs use:
141 --with-pdo-oci=instantclient,/usr,11.2
142 With 10.2 RPMs use:
143 --with-pdo-oci=instantclient,/usr,10.2.0.4
144 --with-pdo-odbc=flavour,dir
145 PDO: Support for 'flavour' ODBC driver.
146 include and lib dirs are looked for under 'dir'.
147
148 'flavour' can be one of: ibm-db2, iODBC, unixODBC, generic
149 If ',dir' part is omitted, default for the flavour
150 you have selected will used. e.g.:
151
152 --with-pdo-odbc=unixODBC
153
154 will check for unixODBC under /usr/local. You may attempt
155 to use an otherwise unsupported driver using the "generic"
156 flavour. The syntax for generic ODBC support is:
157
158 --with-pdo-odbc=generic,dir,libname,ldflags,cflags
159
160 When build as shared the extension filename is always pdo_odbc.so
161 --with-pdo-pgsql[=DIR] PDO: PostgreSQL support. DIR is the PostgreSQL base
162 install directory or the path to pg_config
163 --without-pdo-sqlite[=DIR]
164 PDO: sqlite 3 support. DIR is the sqlite base
165 install directory [BUNDLED]
166 --with-pgsql[=DIR] Include PostgreSQL support. DIR is the PostgreSQL
167 base install directory or the path to pg_config
168 --disable-phar Disable phar support
169 --disable-posix Disable POSIX-like functions
170 --with-pspell[=DIR] Include PSPELL support.
171 GNU Aspell version 0.50.0 or higher required
172 --with-libedit[=DIR] Include libedit readline replacement (CLI/CGI only)
173 --with-readline[=DIR] Include readline support (CLI/CGI only)
174 --with-recode[=DIR] Include recode support
175 --disable-session Disable session support
176 --with-mm[=DIR] SESSION: Include mm support for session storage
177 --enable-shmop Enable shmop support
178 --disable-simplexml Disable SimpleXML support
179 --with-libxml-dir=DIR SimpleXML: libxml2 install prefix
180 --with-snmp[=DIR] Include SNMP support
181 --with-openssl-dir[=DIR] SNMP: openssl install prefix
182 --enable-ucd-snmp-hack SNMP: Enable UCD SNMP hack
183 --enable-soap Enable SOAP support
184 --with-libxml-dir=DIR SOAP: libxml2 install prefix
185 --enable-sockets Enable sockets support
186 --without-sqlite=DIR Do not include sqlite support. DIR is the sqlite base
187 install directory [BUNDLED]
188 --enable-sqlite-utf8 SQLite: Enable UTF-8 support for SQLite
189 --with-sybase-ct[=DIR] Include Sybase-CT support. DIR is the Sybase home
190 directory [/home/sybase]
191 --enable-sysvmsg Enable sysvmsg support
192 --enable-sysvsem Enable System V semaphore support
193 --enable-sysvshm Enable the System V shared memory support
194 --with-tidy[=DIR] Include TIDY support
195 --disable-tokenizer Disable tokenizer support
196 --enable-wddx Enable WDDX support
197 --with-libxml-dir=DIR WDDX: libxml2 install prefix
198 --with-libexpat-dir=DIR WDDX: libexpat dir for XMLRPC-EPI (deprecated)
199 --disable-xml Disable XML support
200 --with-libxml-dir=DIR XML: libxml2 install prefix
201 --with-libexpat-dir=DIR XML: libexpat install prefix (deprecated)
202 --disable-xmlreader Disable XMLReader support
203 --with-libxml-dir=DIR XMLReader: libxml2 install prefix
204 --with-xmlrpc[=DIR] Include XMLRPC-EPI support
205 --with-libxml-dir=DIR XMLRPC-EPI: libxml2 install prefix
206 --with-libexpat-dir=DIR XMLRPC-EPI: libexpat dir for XMLRPC-EPI (deprecated)
207 --with-iconv-dir=DIR XMLRPC-EPI: iconv dir for XMLRPC-EPI
208 --disable-xmlwriter Disable XMLWriter support
209 --with-libxml-dir=DIR XMLWriter: libxml2 install prefix
210 --with-xsl[=DIR] Include XSL support. DIR is the libxslt base
211 install directory (libxslt >= 1.1.0 required)
212 --enable-zip Include Zip read/write support
213 --with-zlib-dir[=DIR] ZIP: Set the path to libz install prefix
214 --with-pcre-dir ZIP: pcre install prefix
215 --disable-mysqlnd-compression-support
216 Disable support for the MySQL compressed protocol in mysqlnd
217 --with-zlib-dir[=DIR] mysqlnd: Set the path to libz install prefix
218