Advertisement
andrelaszlo

php configure help output

Nov 27th, 2014
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.52 KB | None | 0 0
  1. Usage: configure [options] [host]
  2. Options: [defaults in brackets after descriptions]
  3. Configuration:
  4. --cache-file=FILE cache test results in FILE
  5. --help print this message
  6. --no-create do not create output files
  7. --quiet, --silent do not print `checking...' messages
  8. --version print the version of autoconf that created configure
  9. Directory and file names:
  10. --prefix=PREFIX install architecture-independent files in PREFIX
  11. [/usr/local]
  12. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  13. [same as prefix]
  14. --bindir=DIR user executables in DIR [EPREFIX/bin]
  15. --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
  16. --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
  17. --datadir=DIR read-only architecture-independent data in DIR
  18. [PREFIX/share]
  19. --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
  20. --sharedstatedir=DIR modifiable architecture-independent data in DIR
  21. [PREFIX/com]
  22. --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
  23. --libdir=DIR object code libraries in DIR [EPREFIX/lib]
  24. --includedir=DIR C header files in DIR [PREFIX/include]
  25. --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
  26. --infodir=DIR info documentation in DIR [PREFIX/info]
  27. --mandir=DIR man documentation in DIR [PREFIX/man]
  28. --srcdir=DIR find the sources in DIR [configure dir or ..]
  29. --program-prefix=PREFIX prepend PREFIX to installed program names
  30. --program-suffix=SUFFIX append SUFFIX to installed program names
  31. --program-transform-name=PROGRAM
  32. run sed PROGRAM on installed program names
  33. Host type:
  34. --build=BUILD configure for building on BUILD [BUILD=HOST]
  35. --host=HOST configure for HOST [guessed]
  36. --target=TARGET configure for TARGET [TARGET=HOST]
  37. Features and packages:
  38. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  39. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  40. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  41. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  42. --x-includes=DIR X include files are in DIR
  43. --x-libraries=DIR X library files are in DIR
  44. --enable and --with options recognized:
  45. --with-libdir=NAME Look for libraries in .../NAME rather than .../lib
  46. --disable-rpath Disable passing additional runtime library
  47. search paths
  48. --enable-re2c-cgoto Enable -g flag to re2c to use computed goto gcc extension
  49.  
  50. SAPI modules:
  51.  
  52. --with-aolserver=DIR Specify path to the installed AOLserver
  53. --with-apxs[=FILE] Build shared Apache 1.x module. FILE is the optional
  54. pathname to the Apache apxs tool [apxs]
  55. --with-apache[=DIR] Build Apache 1.x module. DIR is the top-level Apache
  56. build directory [/usr/local/apache]
  57. --enable-mod-charset APACHE: Enable transfer tables for mod_charset (Rus Apache)
  58. --with-apxs2filter[=FILE]
  59. EXPERIMENTAL: Build shared Apache 2.0 Filter module. FILE is the optional
  60. pathname to the Apache apxs tool [apxs]
  61. --with-apxs2[=FILE] Build shared Apache 2.0 Handler module. FILE is the optional
  62. pathname to the Apache apxs tool [apxs]
  63. --with-apache-hooks[=FILE]
  64. EXPERIMENTAL: Build shared Apache 1.x module. FILE is the optional
  65. pathname to the Apache apxs tool [apxs]
  66. --with-apache-hooks-static[=DIR]
  67. EXPERIMENTAL: Build Apache 1.x module. DIR is the top-level Apache
  68. build directory [/usr/local/apache]
  69. --enable-mod-charset APACHE (hooks): Enable transfer tables for mod_charset (Rus Apache)
  70. --with-caudium[=DIR] Build PHP as a Pike module for use with Caudium.
  71. DIR is the Caudium server dir [/usr/local/caudium/server]
  72. --disable-cli Disable building CLI version of PHP
  73. (this forces --without-pear)
  74. --with-continuity=DIR Build PHP as Continuity Server module.
  75. DIR is path to the installed Continuity Server root
  76. --enable-embed[=TYPE] EXPERIMENTAL: Enable building of embedded SAPI library
  77. TYPE is either 'shared' or 'static'. [TYPE=shared]
  78. --enable-fpm EXPERIMENTAL: Enable building of the fpm SAPI executable
  79. --with-libevent-dir[=PATH] libevent install prefix, for fpm SAPI. (default: /usr/local)
  80. --with-fpm-user[=USER] Set the user for php-fpm to run as. (default: nobody)
  81. --with-fpm-group[=GRP] Set the group for php-fpm to run as. For a system user, this
  82. should usually be set to match the fpm username (default: nobody)
  83. --with-isapi[=DIR] Build PHP as an ISAPI module for use with Zeus
  84. --with-litespeed Build PHP as litespeed module
  85. --with-milter[=DIR] Build PHP as Milter application
  86. --with-nsapi=DIR Build PHP as NSAPI module for Netscape/iPlanet/Sun Webserver
  87. --with-phttpd=DIR Build PHP as phttpd module
  88. --with-pi3web[=DIR] Build PHP as Pi3Web module
  89. --with-roxen=DIR Build PHP as a Pike module. DIR is the base Roxen
  90. directory, normally /usr/local/roxen/server
  91. --enable-roxen-zts ROXEN: Build the Roxen module using Zend Thread Safety
  92. --with-thttpd=SRCDIR Build PHP as thttpd module
  93. --with-tux=MODULEDIR Build PHP as a TUX module (Linux only)
  94. --with-webjames=SRCDIR Build PHP as a WebJames module (RISC OS only)
  95. --disable-cgi Disable building CGI version of PHP
  96.  
  97. General settings:
  98.  
  99. --enable-gcov Enable GCOV code coverage (requires LTP) - FOR DEVELOPERS ONLY!!
  100. --enable-debug Compile with debugging symbols
  101. --with-layout=TYPE Set how installed files will be laid out. Type can
  102. be either PHP or GNU [PHP]
  103. --with-config-file-path=PATH
  104. Set the path in which to look for php.ini [PREFIX/lib]
  105. --with-config-file-scan-dir=PATH
  106. Set the path where to scan for configuration files
  107. --enable-safe-mode Enable safe mode by default
  108. --with-exec-dir[=DIR] Only allow executables in DIR under safe-mode
  109. [/usr/local/php/bin]
  110. --enable-sigchild Enable PHP's own SIGCHLD handler
  111. --enable-magic-quotes Enable magic quotes by default.
  112. --enable-libgcc Enable explicitly linking against libgcc
  113. --disable-short-tags Disable the short-form <? start tag by default
  114. --enable-dmalloc Enable dmalloc
  115. --disable-ipv6 Disable IPv6 support
  116. --enable-fd-setsize Set size of descriptor sets
  117.  
  118. Extensions:
  119.  
  120. --with-EXTENSION=[shared[,PATH]]
  121.  
  122. NOTE: Not all extensions can be build as 'shared'.
  123.  
  124. Example: --with-foobar=shared,/usr/local/foobar/
  125.  
  126. o Builds the foobar extension as shared extension.
  127. o foobar package install prefix is /usr/local/foobar/
  128.  
  129.  
  130. --disable-all Disable all extensions which are enabled by default
  131.  
  132. --with-regex=TYPE regex library type: system, php. [TYPE=php]
  133. WARNING: Do NOT use unless you know what you are doing!
  134. --disable-libxml Disable LIBXML support
  135. --with-libxml-dir[=DIR] LIBXML: libxml2 install prefix
  136. --with-openssl[=DIR] Include OpenSSL support (requires OpenSSL >= 0.9.6)
  137. --with-kerberos[=DIR] OPENSSL: Include Kerberos support
  138. --with-pcre-regex=DIR Include Perl Compatible Regular Expressions support.
  139. DIR is the PCRE install prefix [BUNDLED]
  140. --without-sqlite3[=DIR] Do not include SQLite3 support. DIR is the prefix to
  141. SQLite3 installation directory.
  142. --with-zlib[=DIR] Include ZLIB support (requires zlib >= 1.0.9)
  143. --with-zlib-dir=<DIR> Define the location of zlib install directory
  144. --enable-bcmath Enable bc style precision math functions
  145. --with-bz2[=DIR] Include BZip2 support
  146. --enable-calendar Enable support for calendar conversion
  147. --disable-ctype Disable ctype functions
  148. --with-curl[=DIR] Include cURL support
  149. --with-curlwrappers EXPERIMENTAL: Use cURL for url streams
  150. --enable-dba Build DBA with bundled modules. To build shared DBA
  151. extension use --enable-dba=shared
  152. --with-qdbm[=DIR] DBA: QDBM support
  153. --with-gdbm[=DIR] DBA: GDBM support
  154. --with-ndbm[=DIR] DBA: NDBM support
  155. --with-db4[=DIR] DBA: Oracle Berkeley DB 4.x or 5.x support
  156. --with-db3[=DIR] DBA: Oracle Berkeley DB 3.x support
  157. --with-db2[=DIR] DBA: Oracle Berkeley DB 2.x support
  158. --with-db1[=DIR] DBA: Oracle Berkeley DB 1.x support/emulation
  159. --with-dbm[=DIR] DBA: DBM support
  160. --without-cdb[=DIR] DBA: CDB support (bundled)
  161. --disable-inifile DBA: INI support (bundled)
  162. --disable-flatfile DBA: FlatFile support (bundled)
  163. --disable-dom Disable DOM support
  164. --with-libxml-dir[=DIR] DOM: libxml2 install prefix
  165. --with-enchant[=DIR] Include enchant support.
  166. GNU Aspell version 1.1.3 or higher required.
  167. --enable-exif Enable EXIF (metadata from images) support
  168. --disable-fileinfo Disable fileinfo support
  169. --disable-filter Disable input filter support
  170. --with-pcre-dir FILTER: pcre install prefix
  171. --enable-ftp Enable FTP support
  172. --with-openssl-dir[=DIR] FTP: openssl install prefix
  173. --with-gd[=DIR] Include GD support. DIR is the GD library base
  174. install directory [BUNDLED]
  175. --with-jpeg-dir[=DIR] GD: Set the path to libjpeg install prefix
  176. --with-png-dir[=DIR] GD: Set the path to libpng install prefix
  177. --with-zlib-dir[=DIR] GD: Set the path to libz install prefix
  178. --with-xpm-dir[=DIR] GD: Set the path to libXpm install prefix
  179. --with-freetype-dir[=DIR] GD: Set the path to FreeType 2 install prefix
  180. --with-t1lib[=DIR] GD: Include T1lib support. T1lib version >= 5.0.0 required
  181. --enable-gd-native-ttf GD: Enable TrueType string function
  182. --enable-gd-jis-conv GD: Enable JIS-mapped Japanese font support
  183. --with-gettext[=DIR] Include GNU gettext support
  184. --with-gmp[=DIR] Include GNU MP support
  185. --with-mhash[=DIR] Include mhash support
  186. --disable-hash Disable hash support
  187. --without-iconv[=DIR] Exclude iconv support
  188. --with-imap[=DIR] Include IMAP support. DIR is the c-client install prefix
  189. --with-kerberos[=DIR] IMAP: Include Kerberos support. DIR is the Kerberos install prefix
  190. --with-imap-ssl[=DIR] IMAP: Include SSL support. DIR is the OpenSSL install prefix
  191. --with-interbase[=DIR] Include InterBase support. DIR is the InterBase base
  192. install directory [/usr/interbase]
  193. --enable-intl Enable internationalization support
  194. --with-icu-dir=DIR Specify where ICU libraries and headers can be found
  195. --disable-json Disable JavaScript Object Serialization support
  196. --with-ldap[=DIR] Include LDAP support
  197. --with-ldap-sasl[=DIR] LDAP: Include Cyrus SASL support
  198. --enable-mbstring Enable multibyte string support
  199. --disable-mbregex MBSTRING: Disable multibyte regex support
  200. --disable-mbregex-backtrack
  201. MBSTRING: Disable multibyte regex backtrack check
  202. --with-libmbfl[=DIR] MBSTRING: Use external libmbfl. DIR is the libmbfl base
  203. install directory [BUNDLED]
  204. --with-onig[=DIR] MBSTRING: Use external oniguruma. DIR is the oniguruma install prefix.
  205. If DIR is not set, the bundled oniguruma will be used
  206. --with-mcrypt[=DIR] Include mcrypt support
  207. --with-mssql[=DIR] Include MSSQL-DB support. DIR is the FreeTDS home
  208. directory [/usr/local/freetds]
  209. --with-mysql[=DIR] Include MySQL support. DIR is the MySQL base
  210. directory. If mysqlnd is passed as DIR,
  211. the MySQL native driver will be used [/usr/local]
  212. --with-mysql-sock[=DIR] MySQL/MySQLi/PDO_MYSQL: Location of the MySQL unix socket pointer.
  213. If unspecified, the default locations are searched
  214. --with-zlib-dir[=DIR] MySQL: Set the path to libz install prefix
  215. --with-mysqli[=FILE] Include MySQLi support. FILE is the path
  216. to mysql_config. If mysqlnd is passed as FILE,
  217. the MySQL native driver will be used [mysql_config]
  218. --enable-embedded-mysqli MYSQLi: Enable embedded support
  219. Note: Does not work with MySQL native driver!
  220. --with-oci8[=DIR] Include Oracle (OCI8) support. DIR defaults to $ORACLE_HOME.
  221. Use --with-oci8=instantclient,/path/to/instant/client/lib
  222. to use an Oracle Instant Client installation
  223. --with-adabas[=DIR] Include Adabas D support [/usr/local]
  224. --with-sapdb[=DIR] Include SAP DB support [/usr/local]
  225. --with-solid[=DIR] Include Solid support [/usr/local/solid]
  226. --with-ibm-db2[=DIR] Include IBM DB2 support [/home/db2inst1/sqllib]
  227. --with-ODBCRouter[=DIR] Include ODBCRouter.com support [/usr]
  228. --with-empress[=DIR] Include Empress support [$EMPRESSPATH]
  229. (Empress Version >= 8.60 required)
  230. --with-empress-bcs[=DIR]
  231. Include Empress Local Access support [$EMPRESSPATH]
  232. (Empress Version >= 8.60 required)
  233. --with-birdstep[=DIR] Include Birdstep support [/usr/local/birdstep]
  234. --with-custom-odbc[=DIR]
  235. Include user defined ODBC support. DIR is ODBC install base
  236. directory [/usr/local]. Make sure to define CUSTOM_ODBC_LIBS and
  237. have some odbc.h in your include dirs. f.e. you should define
  238. following for Sybase SQL Anywhere 5.5.00 on QNX, prior to
  239. running this configure script:
  240. CPPFLAGS="-DODBC_QNX -DSQLANY_BUG"
  241. LDFLAGS=-lunix
  242. CUSTOM_ODBC_LIBS="-ldblib -lodbc"
  243. --with-iodbc[=DIR] Include iODBC support [/usr/local]
  244. --with-esoob[=DIR] Include Easysoft OOB support [/usr/local/easysoft/oob/client]
  245. --with-unixODBC[=DIR] Include unixODBC support [/usr/local]
  246. --with-dbmaker[=DIR] Include DBMaker support
  247. --enable-pcntl Enable pcntl support (CLI/CGI only)
  248. --disable-pdo Disable PHP Data Objects support
  249. --with-pdo-dblib[=DIR] PDO: DBLIB-DB support. DIR is the FreeTDS home directory
  250. --with-pdo-firebird[=DIR] PDO: Firebird support. DIR is the Firebird base
  251. install directory [/opt/firebird]
  252. --with-pdo-mysql[=DIR] PDO: MySQL support. DIR is the MySQL base directory
  253. If mysqlnd is passed as DIR, the MySQL native
  254. native driver will be used [/usr/local]
  255. --with-zlib-dir[=DIR] PDO_MySQL: Set the path to libz install prefix
  256. --with-pdo-oci[=DIR] PDO: Oracle OCI support. DIR defaults to $ORACLE_HOME.
  257. Use --with-pdo-oci=instantclient,prefix,version
  258. for an Oracle Instant Client SDK.
  259. For Linux with 10.2.0.3 RPMs (for example) use:
  260. --with-pdo-oci=instantclient,/usr,10.2.0.3
  261. --with-pdo-odbc=flavour,dir
  262. PDO: Support for 'flavour' ODBC driver.
  263. include and lib dirs are looked for under 'dir'.
  264.  
  265. 'flavour' can be one of: ibm-db2, iODBC, unixODBC, generic
  266. If ',dir' part is omitted, default for the flavour
  267. you have selected will used. e.g.:
  268.  
  269. --with-pdo-odbc=unixODBC
  270.  
  271. will check for unixODBC under /usr/local. You may attempt
  272. to use an otherwise unsupported driver using the "generic"
  273. flavour. The syntax for generic ODBC support is:
  274.  
  275. --with-pdo-odbc=generic,dir,libname,ldflags,cflags
  276.  
  277. When build as shared the extension filename is always pdo_odbc.so
  278. --with-pdo-pgsql[=DIR] PDO: PostgreSQL support. DIR is the PostgreSQL base
  279. install directory or the path to pg_config
  280. --without-pdo-sqlite[=DIR]
  281. PDO: sqlite 3 support. DIR is the sqlite base
  282. install directory [BUNDLED]
  283. --with-pgsql[=DIR] Include PostgreSQL support. DIR is the PostgreSQL
  284. base install directory or the path to pg_config
  285. --disable-phar Disable phar support
  286. --disable-posix Disable POSIX-like functions
  287. --with-pspell[=DIR] Include PSPELL support.
  288. GNU Aspell version 0.50.0 or higher required
  289. --with-libedit[=DIR] Include libedit readline replacement (CLI/CGI only)
  290. --with-readline[=DIR] Include readline support (CLI/CGI only)
  291. --with-recode[=DIR] Include recode support
  292. --disable-session Disable session support
  293. --with-mm[=DIR] SESSION: Include mm support for session storage
  294. --enable-shmop Enable shmop support
  295. --disable-simplexml Disable SimpleXML support
  296. --with-libxml-dir=DIR SimpleXML: libxml2 install prefix
  297. --with-snmp[=DIR] Include SNMP support
  298. --with-openssl-dir[=DIR] SNMP: openssl install prefix
  299. --enable-ucd-snmp-hack SNMP: Enable UCD SNMP hack
  300. --enable-soap Enable SOAP support
  301. --with-libxml-dir=DIR SOAP: libxml2 install prefix
  302. --enable-sockets Enable sockets support
  303. --without-sqlite=DIR Do not include sqlite support. DIR is the sqlite base
  304. install directory [BUNDLED]
  305. --enable-sqlite-utf8 SQLite: Enable UTF-8 support for SQLite
  306. --with-sybase-ct[=DIR] Include Sybase-CT support. DIR is the Sybase home
  307. directory [/home/sybase]
  308. --enable-sysvmsg Enable sysvmsg support
  309. --enable-sysvsem Enable System V semaphore support
  310. --enable-sysvshm Enable the System V shared memory support
  311. --with-tidy[=DIR] Include TIDY support
  312. --disable-tokenizer Disable tokenizer support
  313. --enable-wddx Enable WDDX support
  314. --with-libxml-dir=DIR WDDX: libxml2 install prefix
  315. --with-libexpat-dir=DIR WDDX: libexpat dir for XMLRPC-EPI (deprecated)
  316. --disable-xml Disable XML support
  317. --with-libxml-dir=DIR XML: libxml2 install prefix
  318. --with-libexpat-dir=DIR XML: libexpat install prefix (deprecated)
  319. --disable-xmlreader Disable XMLReader support
  320. --with-libxml-dir=DIR XMLReader: libxml2 install prefix
  321. --with-xmlrpc[=DIR] Include XMLRPC-EPI support
  322. --with-libxml-dir=DIR XMLRPC-EPI: libxml2 install prefix
  323. --with-libexpat-dir=DIR XMLRPC-EPI: libexpat dir for XMLRPC-EPI (deprecated)
  324. --with-iconv-dir=DIR XMLRPC-EPI: iconv dir for XMLRPC-EPI
  325. --disable-xmlwriter Disable XMLWriter support
  326. --with-libxml-dir=DIR XMLWriter: libxml2 install prefix
  327. --with-xsl[=DIR] Include XSL support. DIR is the libxslt base
  328. install directory (libxslt >= 1.1.0 required)
  329. --enable-zip Include Zip read/write support
  330. --with-zlib-dir[=DIR] ZIP: Set the path to libz install prefix
  331. --with-pcre-dir ZIP: pcre install prefix
  332. --disable-mysqlnd-compression-support
  333. Enable support for the MySQL compressed protocol in mysqlnd
  334. --with-zlib-dir[=DIR] mysqlnd: Set the path to libz install prefix
  335.  
  336. PEAR:
  337.  
  338. --with-pear=DIR Install PEAR in DIR [PREFIX/lib/php]
  339. --without-pear Do not install PEAR
  340.  
  341. Zend:
  342.  
  343. --with-zend-vm=TYPE Set virtual machine dispatch method. Type is
  344. one of CALL, SWITCH or GOTO [TYPE=CALL]
  345. --enable-maintainer-zts Enable thread safety - for code maintainers only!!
  346. --disable-inline-optimization
  347. If building zend_execute.lo fails, try this switch
  348. --enable-zend-multibyte Compile with zend multibyte support
  349.  
  350. TSRM:
  351.  
  352. --with-tsrm-pth[=pth-config]
  353. Use GNU Pth
  354. --with-tsrm-st Use SGI's State Threads
  355. --with-tsrm-pthreads Use POSIX threads (default)
  356.  
  357. Libtool:
  358.  
  359. --enable-shared[=PKGS] build shared libraries [default=yes]
  360. --enable-static[=PKGS] build static libraries [default=yes]
  361. --enable-fast-install[=PKGS] optimize for fast installation [default=yes]
  362. --with-gnu-ld assume the C compiler uses GNU ld [default=no]
  363. --disable-libtool-lock avoid locking (might break parallel builds)
  364. --with-pic try to use only PIC/non-PIC objects [default=use both]
  365. --with-tags[=TAGS] include additional configurations [automatic]
  366.  
  367. --with-gnu-ld assume the C compiler uses GNU ld [default=no]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement