Skip to content

Commit 134b11f

Browse files
committed
Add Windows configuration options to docs
1 parent 83e71a8 commit 134b11f

22 files changed

+3406
-248
lines changed

docs/autotools/PHP-5.2.txt

Lines changed: 43 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ Features and packages:
4545
--with-libdir=NAME Look for libraries in .../NAME rather than .../lib
4646
--disable-rpath Disable passing additional runtime library
4747
search paths
48-
--enable-re2c-cgoto Enable -g flag to re2c to use computed goto gcc extension
4948

5049
SAPI modules:
5150

@@ -75,12 +74,7 @@ SAPI modules:
7574
DIR is path to the installed Continuity Server root
7675
--enable-embed[=TYPE] EXPERIMENTAL: Enable building of embedded SAPI library
7776
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)
8277
--with-isapi[=DIR] Build PHP as an ISAPI module for use with Zeus
83-
--with-litespeed Build PHP as litespeed module
8478
--with-milter[=DIR] Build PHP as Milter application
8579
--with-nsapi=DIR Build PHP as NSAPI module for Netscape/iPlanet/Sun Webserver
8680
--with-phttpd=DIR Build PHP as phttpd module
@@ -92,6 +86,15 @@ SAPI modules:
9286
--with-tux=MODULEDIR Build PHP as a TUX module (Linux only)
9387
--with-webjames=SRCDIR Build PHP as a WebJames module (RISC OS only)
9488
--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
9598

9699
General settings:
97100

@@ -127,16 +130,12 @@ Extensions:
127130

128131
--disable-all Disable all extensions which are enabled by default
129132

130-
--with-regex=TYPE regex library type: system, php. [TYPE=php]
131-
WARNING: Do NOT use unless you know what you are doing!
132133
--disable-libxml Disable LIBXML support
133134
--with-libxml-dir[=DIR] LIBXML: libxml2 install prefix
134135
--with-openssl[=DIR] Include OpenSSL support (requires OpenSSL >= 0.9.6)
135136
--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.
137138
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.
140139
--with-zlib[=DIR] Include ZLIB support (requires zlib >= 1.0.9)
141140
--with-zlib-dir=<DIR> Define the location of zlib install directory
142141
--enable-bcmath Enable bc style precision math functions
@@ -150,20 +149,20 @@ Extensions:
150149
--with-qdbm[=DIR] DBA: QDBM support
151150
--with-gdbm[=DIR] DBA: GDBM support
152151
--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
157156
--with-dbm[=DIR] DBA: DBM support
158157
--without-cdb[=DIR] DBA: CDB support (bundled)
159158
--disable-inifile DBA: INI support (bundled)
160159
--disable-flatfile DBA: FlatFile support (bundled)
160+
--enable-dbase Enable the bundled dbase library
161161
--disable-dom Disable DOM support
162162
--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.
165163
--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
167166
--disable-filter Disable input filter support
168167
--with-pcre-dir FILTER: pcre install prefix
169168
--enable-ftp Enable FTP support
@@ -174,22 +173,20 @@ Extensions:
174173
--with-png-dir[=DIR] GD: Set the path to libpng install prefix
175174
--with-zlib-dir[=DIR] GD: Set the path to libz install prefix
176175
--with-xpm-dir[=DIR] GD: Set the path to libXpm install prefix
176+
--with-ttf[=DIR] GD: Include FreeType 1.x support
177177
--with-freetype-dir[=DIR] GD: Set the path to FreeType 2 install prefix
178178
--with-t1lib[=DIR] GD: Include T1lib support. T1lib version >= 5.0.0 required
179179
--enable-gd-native-ttf GD: Enable TrueType string function
180180
--enable-gd-jis-conv GD: Enable JIS-mapped Japanese font support
181181
--with-gettext[=DIR] Include GNU gettext support
182182
--with-gmp[=DIR] Include GNU MP support
183-
--with-mhash[=DIR] Include mhash support
184183
--disable-hash Disable hash support
185184
--without-iconv[=DIR] Exclude iconv support
186185
--with-imap[=DIR] Include IMAP support. DIR is the c-client install prefix
187186
--with-kerberos[=DIR] IMAP: Include Kerberos support. DIR is the Kerberos install prefix
188187
--with-imap-ssl[=DIR] IMAP: Include SSL support. DIR is the OpenSSL install prefix
189188
--with-interbase[=DIR] Include InterBase support. DIR is the InterBase base
190189
install directory [/usr/interbase]
191-
--enable-intl Enable internationalization support
192-
--with-icu-dir=DIR Specify where ICU libraries and headers can be found
193190
--disable-json Disable JavaScript Object Serialization support
194191
--with-ldap[=DIR] Include LDAP support
195192
--with-ldap-sasl[=DIR] LDAP: Include Cyrus SASL support
@@ -199,25 +196,26 @@ Extensions:
199196
MBSTRING: Disable multibyte regex backtrack check
200197
--with-libmbfl[=DIR] MBSTRING: Use external libmbfl. DIR is the libmbfl base
201198
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
204199
--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]
205206
--with-mssql[=DIR] Include MSSQL-DB support. DIR is the FreeTDS home
206207
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.
211210
If unspecified, the default locations are searched
212211
--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]
216214
--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
221219
--with-adabas[=DIR] Include Adabas D support [/usr/local]
222220
--with-sapdb[=DIR] Include SAP DB support [/usr/local]
223221
--with-solid[=DIR] Include Solid support [/usr/local/solid]
@@ -244,25 +242,22 @@ Extensions:
244242
--with-dbmaker[=DIR] Include DBMaker support
245243
--enable-pcntl Enable pcntl support (CLI/CGI only)
246244
--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
248247
--with-pdo-firebird[=DIR] PDO: Firebird support. DIR is the Firebird base
249248
install directory [/opt/firebird]
250249
--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]
253250
--with-zlib-dir[=DIR] PDO_MySQL: Set the path to libz install prefix
254251
--with-pdo-oci[=DIR] PDO: Oracle OCI support. DIR defaults to $ORACLE_HOME.
255252
Use --with-pdo-oci=instantclient,prefix,version
256253
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
261256
--with-pdo-odbc=flavour,dir
262257
PDO: Support for 'flavour' ODBC driver.
263258
include and lib dirs are looked for under 'dir'.
264259

265-
'flavour' can be one of: ibm-db2, iODBC, unixODBC, generic
260+
'flavour' can be one of: ibm-db2, unixODBC, generic
266261
If ',dir' part is omitted, default for the flavour
267262
you have selected will used. e.g.:
268263

@@ -282,13 +277,13 @@ Extensions:
282277
install directory [BUNDLED]
283278
--with-pgsql[=DIR] Include PostgreSQL support. DIR is the PostgreSQL
284279
base install directory or the path to pg_config
285-
--disable-phar Disable phar support
286280
--disable-posix Disable POSIX-like functions
287281
--with-pspell[=DIR] Include PSPELL support.
288282
GNU Aspell version 0.50.0 or higher required
289283
--with-libedit[=DIR] Include libedit readline replacement (CLI/CGI only)
290284
--with-readline[=DIR] Include readline support (CLI/CGI only)
291285
--with-recode[=DIR] Include recode support
286+
--disable-reflection Disable reflection support
292287
--disable-session Disable session support
293288
--with-mm[=DIR] SESSION: Include mm support for session storage
294289
--enable-shmop Enable shmop support
@@ -300,9 +295,14 @@ Extensions:
300295
--enable-soap Enable SOAP support
301296
--with-libxml-dir=DIR SOAP: libxml2 install prefix
302297
--enable-sockets Enable sockets support
298+
--disable-spl Disable Standard PHP Library
303299
--without-sqlite=DIR Do not include sqlite support. DIR is the sqlite base
304300
install directory [BUNDLED]
305301
--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]
306306
--with-sybase-ct[=DIR] Include Sybase-CT support. DIR is the Sybase home
307307
directory [/home/sybase]
308308
--enable-sysvmsg Enable sysvmsg support
@@ -328,12 +328,6 @@ Extensions:
328328
install directory (libxslt >= 1.1.0 required)
329329
--enable-zip Include Zip read/write support
330330
--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
337331

338332
PEAR:
339333

0 commit comments

Comments
 (0)