@@ -45,7 +45,6 @@ Features and packages:
45
45
--with-libdir=NAME Look for libraries in .../NAME rather than .../lib
46
46
--disable-rpath Disable passing additional runtime library
47
47
search paths
48
- --enable-re2c-cgoto Enable -g flag to re2c to use computed goto gcc extension
49
48
50
49
SAPI modules:
51
50
@@ -75,12 +74,7 @@ SAPI modules:
75
74
DIR is path to the installed Continuity Server root
76
75
--enable-embed[=TYPE] EXPERIMENTAL: Enable building of embedded SAPI library
77
76
TYPE is either 'shared' or 'static'. [TYPE=shared]
78
- --enable-fpm EXPERIMENTAL: Enable building of the fpm SAPI executable
79
- --with-fpm-user[=USER] Set the user for php-fpm to run as. (default: nobody)
80
- --with-fpm-group[=GRP] Set the group for php-fpm to run as. For a system user, this
81
- should usually be set to match the fpm username (default: nobody)
82
77
--with-isapi[=DIR] Build PHP as an ISAPI module for use with Zeus
83
- --with-litespeed Build PHP as litespeed module
84
78
--with-milter[=DIR] Build PHP as Milter application
85
79
--with-nsapi=DIR Build PHP as NSAPI module for Netscape/iPlanet/Sun Webserver
86
80
--with-phttpd=DIR Build PHP as phttpd module
@@ -92,6 +86,15 @@ SAPI modules:
92
86
--with-tux=MODULEDIR Build PHP as a TUX module (Linux only)
93
87
--with-webjames=SRCDIR Build PHP as a WebJames module (RISC OS only)
94
88
--disable-cgi Disable building CGI version of PHP
89
+ --enable-fastcgi CGI: Enable FastCGI support in the CGI binary
90
+ --enable-force-cgi-redirect
91
+ CGI: Enable security check for internal server
92
+ redirects. Use this if you run the PHP CGI with Apache
93
+ --enable-discard-path CGI: When this is enabled the PHP CGI binary can
94
+ safely be placed outside of the web tree and people
95
+ will not be able to circumvent .htaccess security
96
+ --disable-path-info-check CGI: If this is disabled, paths such as
97
+ /info.php/test?a=b will fail to work
95
98
96
99
General settings:
97
100
@@ -127,16 +130,12 @@ Extensions:
127
130
128
131
--disable-all Disable all extensions which are enabled by default
129
132
130
- --with-regex=TYPE regex library type: system, php. [TYPE=php]
131
- WARNING: Do NOT use unless you know what you are doing!
132
133
--disable-libxml Disable LIBXML support
133
134
--with-libxml-dir[=DIR] LIBXML: libxml2 install prefix
134
135
--with-openssl[=DIR] Include OpenSSL support (requires OpenSSL >= 0.9.6)
135
136
--with-kerberos[=DIR] OPENSSL: Include Kerberos support
136
- --with -pcre-regex=DIR Include Perl Compatible Regular Expressions support.
137
+ --without -pcre-regex Do not include Perl Compatible Regular Expressions support.
137
138
DIR is the PCRE install prefix [BUNDLED]
138
- --without-sqlite3[=DIR] Do not include SQLite3 support. DIR is the prefix to
139
- SQLite3 installation directory.
140
139
--with-zlib[=DIR] Include ZLIB support (requires zlib >= 1.0.9)
141
140
--with-zlib-dir=<DIR> Define the location of zlib install directory
142
141
--enable-bcmath Enable bc style precision math functions
@@ -150,20 +149,20 @@ Extensions:
150
149
--with-qdbm[=DIR] DBA: QDBM support
151
150
--with-gdbm[=DIR] DBA: GDBM support
152
151
--with-ndbm[=DIR] DBA: NDBM support
153
- --with-db4[=DIR] DBA: Oracle Berkeley DB 4.x or 5.x support
154
- --with-db3[=DIR] DBA: Oracle Berkeley DB 3.x support
155
- --with-db2[=DIR] DBA: Oracle Berkeley DB 2.x support
156
- --with-db1[=DIR] DBA: Oracle Berkeley DB 1.x support/emulation
152
+ --with-db4[=DIR] DBA: Berkeley DB4 support
153
+ --with-db3[=DIR] DBA: Berkeley DB3 support
154
+ --with-db2[=DIR] DBA: Berkeley DB2 support
155
+ --with-db1[=DIR] DBA: Berkeley DB1 support/emulation
157
156
--with-dbm[=DIR] DBA: DBM support
158
157
--without-cdb[=DIR] DBA: CDB support (bundled)
159
158
--disable-inifile DBA: INI support (bundled)
160
159
--disable-flatfile DBA: FlatFile support (bundled)
160
+ --enable-dbase Enable the bundled dbase library
161
161
--disable-dom Disable DOM support
162
162
--with-libxml-dir[=DIR] DOM: libxml2 install prefix
163
- --with-enchant[=DIR] Include enchant support.
164
- GNU Aspell version 1.1.3 or higher required.
165
163
--enable-exif Enable EXIF (metadata from images) support
166
- --disable-fileinfo Disable fileinfo support
164
+ --with-fbsql[=DIR] Include FrontBase support. DIR is the FrontBase base directory
165
+ --with-fdftk[=DIR] Include FDF support
167
166
--disable-filter Disable input filter support
168
167
--with-pcre-dir FILTER: pcre install prefix
169
168
--enable-ftp Enable FTP support
@@ -174,22 +173,20 @@ Extensions:
174
173
--with-png-dir[=DIR] GD: Set the path to libpng install prefix
175
174
--with-zlib-dir[=DIR] GD: Set the path to libz install prefix
176
175
--with-xpm-dir[=DIR] GD: Set the path to libXpm install prefix
176
+ --with-ttf[=DIR] GD: Include FreeType 1.x support
177
177
--with-freetype-dir[=DIR] GD: Set the path to FreeType 2 install prefix
178
178
--with-t1lib[=DIR] GD: Include T1lib support. T1lib version >= 5.0.0 required
179
179
--enable-gd-native-ttf GD: Enable TrueType string function
180
180
--enable-gd-jis-conv GD: Enable JIS-mapped Japanese font support
181
181
--with-gettext[=DIR] Include GNU gettext support
182
182
--with-gmp[=DIR] Include GNU MP support
183
- --with-mhash[=DIR] Include mhash support
184
183
--disable-hash Disable hash support
185
184
--without-iconv[=DIR] Exclude iconv support
186
185
--with-imap[=DIR] Include IMAP support. DIR is the c-client install prefix
187
186
--with-kerberos[=DIR] IMAP: Include Kerberos support. DIR is the Kerberos install prefix
188
187
--with-imap-ssl[=DIR] IMAP: Include SSL support. DIR is the OpenSSL install prefix
189
188
--with-interbase[=DIR] Include InterBase support. DIR is the InterBase base
190
189
install directory [/usr/interbase]
191
- --enable-intl Enable internationalization support
192
- --with-icu-dir=DIR Specify where ICU libraries and headers can be found
193
190
--disable-json Disable JavaScript Object Serialization support
194
191
--with-ldap[=DIR] Include LDAP support
195
192
--with-ldap-sasl[=DIR] LDAP: Include Cyrus SASL support
@@ -199,25 +196,26 @@ Extensions:
199
196
MBSTRING: Disable multibyte regex backtrack check
200
197
--with-libmbfl[=DIR] MBSTRING: Use external libmbfl. DIR is the libmbfl base
201
198
install directory [BUNDLED]
202
- --with-onig[=DIR] MBSTRING: Use external oniguruma. DIR is the oniguruma install prefix.
203
- If DIR is not set, the bundled oniguruma will be used
204
199
--with-mcrypt[=DIR] Include mcrypt support
200
+ --with-mhash[=DIR] Include mhash support
201
+ --with-mime-magic[=FILE]
202
+ Include mime_magic support (DEPRECATED!!)
203
+ --with-ming[=DIR] Include MING support
204
+ --with-msql[=DIR] Include mSQL support. DIR is the mSQL base
205
+ install directory [/usr/local/Hughes]
205
206
--with-mssql[=DIR] Include MSSQL-DB support. DIR is the FreeTDS home
206
207
directory [/usr/local/freetds]
207
- --with-mysql[=DIR] Include MySQL support. DIR is the MySQL base
208
- directory. If mysqlnd is passed as DIR,
209
- the MySQL native driver will be used [/usr/local]
210
- --with-mysql-sock[=DIR] MySQL/MySQLi/PDO_MYSQL: Location of the MySQL unix socket pointer.
208
+ --with-mysql[=DIR] Include MySQL support. DIR is the MySQL base directory
209
+ --with-mysql-sock[=DIR] MySQL: Location of the MySQL unix socket pointer.
211
210
If unspecified, the default locations are searched
212
211
--with-zlib-dir[=DIR] MySQL: Set the path to libz install prefix
213
- --with-mysqli[=FILE] Include MySQLi support. FILE is the path
214
- to mysql_config. If mysqlnd is passed as FILE,
215
- the MySQL native driver will be used [mysql_config]
212
+ --with-mysqli[=FILE] Include MySQLi support. FILE is the optional pathname
213
+ to mysql_config [mysql_config]
216
214
--enable-embedded-mysqli MYSQLi: Enable embedded support
217
- Note: Does not work with MySQL native driver!
218
- --with-oci8[=DIR] Include Oracle Database OCI8 support. DIR defaults to $ORACLE_HOME.
219
- Use --with-oci8=instantclient,/path/to/instant/client /lib
220
- to use an Oracle Instant Client installation
215
+ --with-ncurses[=DIR] Include ncurses support (CLI/CGI only)
216
+ --with-oci8[=DIR] Include Oracle ( OCI8) support. DIR defaults to $ORACLE_HOME.
217
+ Use --with-oci8=instantclient,/path/to/oic /lib
218
+ for an Oracle Instant Client installation
221
219
--with-adabas[=DIR] Include Adabas D support [/usr/local]
222
220
--with-sapdb[=DIR] Include SAP DB support [/usr/local]
223
221
--with-solid[=DIR] Include Solid support [/usr/local/solid]
@@ -244,25 +242,22 @@ Extensions:
244
242
--with-dbmaker[=DIR] Include DBMaker support
245
243
--enable-pcntl Enable pcntl support (CLI/CGI only)
246
244
--disable-pdo Disable PHP Data Objects support
247
- --with-pdo-dblib[=DIR] PDO: DBLIB-DB support. DIR is the FreeTDS home directory
245
+ --with-pdo-dblib[=DIR] PDO: DBLIB-DB support. DIR is the FreeTDS home
246
+ directory
248
247
--with-pdo-firebird[=DIR] PDO: Firebird support. DIR is the Firebird base
249
248
install directory [/opt/firebird]
250
249
--with-pdo-mysql[=DIR] PDO: MySQL support. DIR is the MySQL base directory
251
- If mysqlnd is passed as DIR, the MySQL native
252
- native driver will be used [/usr/local]
253
250
--with-zlib-dir[=DIR] PDO_MySQL: Set the path to libz install prefix
254
251
--with-pdo-oci[=DIR] PDO: Oracle OCI support. DIR defaults to $ORACLE_HOME.
255
252
Use --with-pdo-oci=instantclient,prefix,version
256
253
for an Oracle Instant Client SDK.
257
- For example on Linux with 11.2 RPMs use:
258
- --with-pdo-oci=instantclient,/usr,11.2
259
- With 10.2 RPMs use:
260
- --with-pdo-oci=instantclient,/usr,10.2.0.4
254
+ For Linux with 10.2.0.3 RPMs (for example) use:
255
+ --with-pdo-oci=instantclient,/usr,10.2.0.3
261
256
--with-pdo-odbc=flavour,dir
262
257
PDO: Support for 'flavour' ODBC driver.
263
258
include and lib dirs are looked for under 'dir'.
264
259
265
- 'flavour' can be one of: ibm-db2, iODBC, unixODBC, generic
260
+ 'flavour' can be one of: ibm-db2, unixODBC, generic
266
261
If ',dir' part is omitted, default for the flavour
267
262
you have selected will used. e.g.:
268
263
@@ -282,13 +277,13 @@ Extensions:
282
277
install directory [BUNDLED]
283
278
--with-pgsql[=DIR] Include PostgreSQL support. DIR is the PostgreSQL
284
279
base install directory or the path to pg_config
285
- --disable-phar Disable phar support
286
280
--disable-posix Disable POSIX-like functions
287
281
--with-pspell[=DIR] Include PSPELL support.
288
282
GNU Aspell version 0.50.0 or higher required
289
283
--with-libedit[=DIR] Include libedit readline replacement (CLI/CGI only)
290
284
--with-readline[=DIR] Include readline support (CLI/CGI only)
291
285
--with-recode[=DIR] Include recode support
286
+ --disable-reflection Disable reflection support
292
287
--disable-session Disable session support
293
288
--with-mm[=DIR] SESSION: Include mm support for session storage
294
289
--enable-shmop Enable shmop support
@@ -300,9 +295,14 @@ Extensions:
300
295
--enable-soap Enable SOAP support
301
296
--with-libxml-dir=DIR SOAP: libxml2 install prefix
302
297
--enable-sockets Enable sockets support
298
+ --disable-spl Disable Standard PHP Library
303
299
--without-sqlite=DIR Do not include sqlite support. DIR is the sqlite base
304
300
install directory [BUNDLED]
305
301
--enable-sqlite-utf8 SQLite: Enable UTF-8 support for SQLite
302
+ --with-regex=TYPE regex library type: system, apache, php. [TYPE=php]
303
+ WARNING: Do NOT use unless you know what you are doing!
304
+ --with-sybase[=DIR] Include Sybase-DB support. DIR is the Sybase home
305
+ directory [/home/sybase]
306
306
--with-sybase-ct[=DIR] Include Sybase-CT support. DIR is the Sybase home
307
307
directory [/home/sybase]
308
308
--enable-sysvmsg Enable sysvmsg support
@@ -328,12 +328,6 @@ Extensions:
328
328
install directory (libxslt >= 1.1.0 required)
329
329
--enable-zip Include Zip read/write support
330
330
--with-zlib-dir[=DIR] ZIP: Set the path to libz install prefix
331
- --with-pcre-dir ZIP: pcre install prefix
332
- --enable-mysqlnd Enable mysqlnd explicitly, will be done implicitly
333
- when required by other extensions
334
- --disable-mysqlnd-compression-support
335
- Disable support for the MySQL compressed protocol in mysqlnd
336
- --with-zlib-dir[=DIR] mysqlnd: Set the path to libz install prefix
337
331
338
332
PEAR:
339
333
0 commit comments