Sophie

Sophie

distrib > PLD > ac > amd64 > media > dist > by-pkgid > dd8ef74e7a184506d40e4328053fb785 > files > 20

php-manual-ro-20051028-1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML
><HEAD
><TITLE
>Configure options</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="Manual PHP"
HREF="index.html"><LINK
REL="UP"
TITLE="Anexe"
HREF="appendixes.html"><LINK
REL="PREVIOUS"
TITLE="Reporting Errors"
HREF="phpdevel-errors.html"><LINK
REL="NEXT"
TITLE="List of core php.ini directives"
HREF="ini.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=ISO-8859-2"></HEAD
><BODY
CLASS="appendix"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Manual PHP</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="phpdevel-errors.html"
ACCESSKEY="P"
>Înapoi</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="ini.html"
ACCESSKEY="N"
>Înainte</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="appendix"
><H1
><A
NAME="configure"
>Anexa G. Configure options</A
></H1
><DIV
CLASS="TOC"
><DL
><DT
><B
>Cuprins</B
></DT
><DT
><A
HREF="configure.html#configure.about"
>List of core configure options</A
></DT
></DL
></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="configure.about"
>List of core configure options</A
></H1
><P
>&#13;   Below is a partial list of configure options used by the PHP
   <TT
CLASS="filename"
>configure</TT
> scripts when compiling in Unix-like
   environments. Most configure options are listed in their appropriate
   locations on the extension reference pages and not here. For a complete
   up-to-date list of configure options, run <B
CLASS="command"
>./configure --help</B
>
   in your PHP source directory after running <B
CLASS="command"
>autoconf</B
>
   (see also the <A
HREF="installation.html"
>Installation chapter</A
>).
   You may also be interested in reading the
   <A
HREF="http://www.airs.com/ian/configure/"
TARGET="_top"
>GNU configure</A
> documentation for
   information on additional <B
CLASS="command"
>configure</B
> options such as
   <VAR
CLASS="literal"
>--prefix=PREFIX</VAR
>.
  </P
><DIV
CLASS="note"
><BLOCKQUOTE
CLASS="note"
><P
><B
>Not&#227;: </B
>
    These are only used at compile time. If you want to alter PHP's
    runtime configuration, please see the chapter on <A
HREF="configuration.html"
>Runtime Configuration</A
>.
   </P
></BLOCKQUOTE
></DIV
><P
></P
><UL
><LI
><P
>&#13;     <A
HREF="configure.html#configure.options.misc"
>Miscellaneous</A
>
    </P
></LI
><LI
><P
>&#13;     <A
HREF="configure.html#configure.options.php"
>PHP Behaviour</A
>
    </P
></LI
><LI
><P
>&#13;     <A
HREF="configure.html#configure.options.servers"
>Server</A
>
    </P
></LI
></UL
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="configure.options"
>Configure Options in PHP 4</A
></H2
><DIV
CLASS="note"
><BLOCKQUOTE
CLASS="note"
><P
><B
>Not&#227;: </B
>
     These options are only used in PHP 4 as of PHP 4.1.0. 
     Some are available in older versions of PHP 4, some even in PHP 3, some only in PHP 4.1.0.
     If you want to compile an older version, some options will probably 
     not be available.
    </P
></BLOCKQUOTE
></DIV
><DIV
CLASS="sect3"
><H3
CLASS="sect3"
><A
NAME="configure.options.misc"
>Misc options</A
></H3
><P
></P
><DIV
CLASS="variablelist"
><DL
><DT
><A
NAME="configure.enable-debug"
></A
><VAR
CLASS="option"
>--enable-debug</VAR
></DT
><DD
><P
>&#13;      Compile with debugging symbols.
     </P
></DD
><DT
><A
NAME="configure.with-layout"
></A
><VAR
CLASS="option"
>--with-layout=TYPE</VAR
></DT
><DD
><P
>&#13;      Sets how installed files will be laid out. Type is one of PHP (default) 
or GNU.
     </P
></DD
><DT
><A
NAME="configure.with-pear"
></A
><VAR
CLASS="option"
>--with-pear=DIR</VAR
></DT
><DD
><P
>&#13;      Install PEAR in DIR (default PREFIX/lib/php).
     </P
></DD
><DT
><A
NAME="configure.without-pear"
></A
><VAR
CLASS="option"
>--without-pear</VAR
></DT
><DD
><P
>&#13;      Do not install PEAR.
     </P
></DD
><DT
><A
NAME="configure.enable-sigchild"
></A
><VAR
CLASS="option"
>--enable-sigchild</VAR
></DT
><DD
><P
>&#13;      Enable PHP's own SIGCHLD handler.
     </P
></DD
><DT
><A
NAME="configure.disable-rpath"
></A
><VAR
CLASS="option"
>--disable-rpath</VAR
></DT
><DD
><P
>&#13;      Disable passing additional runtime library search paths.
     </P
></DD
><DT
><A
NAME="configure.enable-libgcc"
></A
><VAR
CLASS="option"
>--enable-libgcc</VAR
></DT
><DD
><P
>&#13;      Enable explicitly linking against libgcc.
     </P
></DD
><DT
><A
NAME="configure.enable-php-streams"
></A
><VAR
CLASS="option"
>--enable-php-streams</VAR
></DT
><DD
><P
>&#13;      Include experimental PHP streams. Do not use unless you are testing the 
code!
     </P
></DD
><DT
><A
NAME="configure.with-zlib-dir"
></A
><VAR
CLASS="option"
>--with-zlib-dir[=DIR]</VAR
></DT
><DD
><P
>&#13;      Define the location of zlib install directory.
     </P
></DD
><DT
><A
NAME="configure.enable-trans-sid"
></A
><VAR
CLASS="option"
>--enable-trans-sid</VAR
></DT
><DD
><P
>&#13;      Enable transparent session id propagation. Only valid for PHP 4.1.2 or
      less. From PHP 4.2.0, trans-sid feature is always compiled.
     </P
></DD
><DT
><A
NAME="configure.with-tsrm-pthreads"
></A
><VAR
CLASS="option"
>--with-tsrm-pthreads</VAR
></DT
><DD
><P
>&#13;      Use POSIX threads (default).
     </P
></DD
><DT
><A
NAME="configure.enable-shared"
></A
><VAR
CLASS="option"
>--enable-shared[=PKGS]</VAR
></DT
><DD
><P
>&#13;      Build shared libraries [default=yes].
     </P
></DD
><DT
><A
NAME="configure.enable-static"
></A
><VAR
CLASS="option"
>--enable-static[=PKGS]</VAR
></DT
><DD
><P
>&#13;      Build static libraries [default=yes].
     </P
></DD
><DT
><A
NAME="configure.enable-fast-install"
></A
><VAR
CLASS="option"
>--enable-fast-install[=PKGS]</VAR
></DT
><DD
><P
>&#13;      Optimize for fast installation [default=yes].
     </P
></DD
><DT
><A
NAME="configure.with-gnu-ld"
></A
><VAR
CLASS="option"
>--with-gnu-ld</VAR
></DT
><DD
><P
>&#13;      Assume the C compiler uses GNU ld [default=no].
     </P
></DD
><DT
><A
NAME="configure.disable-libtool-lock"
></A
><VAR
CLASS="option"
>--disable-libtool-lock</VAR
></DT
><DD
><P
>&#13;      Avoid locking (might break parallel builds).
     </P
></DD
><DT
><A
NAME="configure.with-pic"
></A
><VAR
CLASS="option"
>--with-pic</VAR
></DT
><DD
><P
>&#13;      Try to use only PIC/non-PIC objects [default=use both].
     </P
></DD
><DT
><A
NAME="configure.enable-memory-limit"
></A
><VAR
CLASS="option"
>--enable-memory-limit</VAR
></DT
><DD
><P
>&#13;      Compile with memory limit support.
     </P
></DD
><DT
><A
NAME="configure.disable-url-fopen-wrapper"
></A
><VAR
CLASS="option"
>--disable-url-fopen-wrapper</VAR
></DT
><DD
><P
>&#13;      Disable the URL-aware fopen wrapper that allows
      accessing files via HTTP or FTP.
     </P
></DD
><DT
><A
NAME="configure.enable-versioning.php4"
></A
><VAR
CLASS="option"
>--enable-versioning</VAR
></DT
><DD
><P
>&#13;      Export only required symbols.
      See INSTALL for more information.
     </P
></DD
><DT
><A
NAME="configure.with-ismp"
></A
><VAR
CLASS="option"
>--with-imsp[=DIR]</VAR
></DT
><DD
><P
>&#13;      Include IMSp support (DIR is IMSP's include dir and libimsp.a dir).
      PHP 3 only!
     </P
></DD
><DT
><A
NAME="configure.with-mck"
></A
><VAR
CLASS="option"
>--with-mck[=DIR]</VAR
></DT
><DD
><P
>&#13;      Include Cybercash MCK support. DIR is the cybercash
      mck build directory, defaults to
      /usr/src/mck-3.2.0.3-linux for help look in
      extra/cyberlib. PHP 3 only!
     </P
></DD
><DT
><A
NAME="configure.with-mod-dav"
></A
><VAR
CLASS="option"
>--with-mod-dav=DIR</VAR
></DT
><DD
><P
>&#13;      Include DAV support through Apache's mod_dav,
      DIR is mod_dav's installation directory (Apache
      module version only!) PHP 3 only!
     </P
></DD
><DT
><A
NAME="configure.enable-debugger"
></A
><VAR
CLASS="option"
>--enable-debugger</VAR
></DT
><DD
><P
>&#13;      Compile with remote debugging functions. PHP 3 only!
     </P
></DD
><DT
><A
NAME="configure.enable-versioning.php3"
></A
><VAR
CLASS="option"
>--enable-versioning</VAR
></DT
><DD
><P
>&#13;      Take advantage of versioning and scoping
      provided by Solaris 2.x and Linux. PHP 3 only!
     </P
></DD
></DL
></DIV
></DIV
><DIV
CLASS="sect3"
><H3
CLASS="sect3"
><A
NAME="configure.options.php"
>PHP options</A
></H3
><P
></P
><DIV
CLASS="variablelist"
><DL
><DT
><A
NAME="configure.enable-maintainer-mode"
></A
><VAR
CLASS="option"
>--enable-maintainer-mode</VAR
></DT
><DD
><P
>&#13;      Enable make rules and dependencies not useful (and sometimes confusing) 
      to the casual installer.
     </P
></DD
><DT
><A
NAME="configure.with-config-file-path"
></A
><VAR
CLASS="option"
>--with-config-file-path=PATH</VAR
></DT
><DD
><P
>&#13;      Sets the path in which to look for <TT
CLASS="filename"
>php.ini</TT
>, defaults to PREFIX/lib.
     </P
></DD
><DT
><A
NAME="configure.enable-safe-mode"
></A
><VAR
CLASS="option"
>--enable-safe-mode</VAR
></DT
><DD
><P
>&#13;      Enable safe mode by default.
     </P
></DD
><DT
><A
NAME="configure.with-exec-dir"
></A
><VAR
CLASS="option"
>--with-exec-dir[=DIR]</VAR
></DT
><DD
><P
>&#13;      Only allow executables in DIR when in safe mode defaults to /usr/local/php/bin.
     </P
></DD
><DT
><A
NAME="configure.enable-magic-quotes"
></A
><VAR
CLASS="option"
>--enable-magic-quotes</VAR
></DT
><DD
><P
>&#13;      Enable magic quotes by default.
     </P
></DD
><DT
><A
NAME="configure.disable-short-tags"
></A
><VAR
CLASS="option"
>--disable-short-tags</VAR
></DT
><DD
><P
>&#13;      Disable the short-form &#60;? start tag by default.
     </P
></DD
></DL
></DIV
></DIV
><DIV
CLASS="sect3"
><H3
CLASS="sect3"
><A
NAME="configure.options.servers"
>SAPI options</A
></H3
><P
>&#13;   The following list contains the available SAPI&#38;s (<VAR
CLASS="literal"
>Server
   Application Programming Interface</VAR
>) for PHP.
  </P
><P
></P
><DIV
CLASS="variablelist"
><DL
><DT
><A
NAME="configure.with-aolserver"
></A
><VAR
CLASS="option"
>--with-aolserver=DIR</VAR
></DT
><DD
><P
>&#13;      Specify path to the installed AOLserver.
     </P
></DD
><DT
><A
NAME="configure.with-apxs"
></A
><VAR
CLASS="option"
>--with-apxs[=FILE]</VAR
></DT
><DD
><P
>&#13;      Build shared Apache module. FILE is the optional pathname to the Apache
      apxs tool; defaults to apxs. Make sure you specify the version of apxs that
      is actually installed on your system and NOT the one that is in the apache
      source tarball.
     </P
></DD
><DT
><A
NAME="configure.with-apache"
></A
><VAR
CLASS="option"
>--with-apache[=DIR]</VAR
></DT
><DD
><P
>&#13;      Build a static Apache module. DIR is the top-level Apache build directory,
      defaults to <TT
CLASS="filename"
>/usr/local/apache</TT
>.
     </P
></DD
><DT
><A
NAME="configure.with-mod_charset"
></A
><VAR
CLASS="option"
>--with-mod_charset</VAR
></DT
><DD
><P
>&#13;      Enable transfer tables for mod_charset (Russian Apache).
     </P
></DD
><DT
><A
NAME="configure.with-apxs2"
></A
><VAR
CLASS="option"
>--with-apxs2[=FILE]</VAR
></DT
><DD
><P
>&#13;      Build shared Apache 2.0 module. FILE is the optional pathname to the Apache
      apxs tool; defaults to apxs.
     </P
></DD
><DT
><A
NAME="configure.with-caudium"
></A
><VAR
CLASS="option"
>--with-caudium=DIR</VAR
></DT
><DD
><P
>&#13;      Build PHP as a Pike module for use with Caudium. DIR is the Caudium server
      dir, with the default value <TT
CLASS="filename"
>/usr/local/caudium/server</TT
>.
     </P
></DD
><DT
><A
NAME="configure.disable-cli"
></A
><VAR
CLASS="option"
>--disable-cli</VAR
></DT
><DD
><P
>&#13;      Available with PHP 4.3.0. Disable building the CLI version of PHP (this
      forces <A
HREF="configure.html#configure.without-pear"
>--without-pear</A
>).
      More information is available in the section about
      <A
HREF="features.commandline.html"
>Using PHP from the command line</A
>.
     </P
></DD
><DT
><A
NAME="configure.enable-embed"
></A
><VAR
CLASS="option"
>--enable-embed[=TYPE]</VAR
></DT
><DD
><P
>&#13;      Enable building of the embedded SAPI library. TYPE is either
      <VAR
CLASS="literal"
>shared</VAR
> or <VAR
CLASS="literal"
>static</VAR
>, which
      defaults to <VAR
CLASS="literal"
>shared</VAR
>. Available with PHP 4.3.0.
     </P
></DD
><DT
><A
NAME="configure.with-fhttpd"
></A
><VAR
CLASS="option"
>--with-fhttpd[=DIR]</VAR
></DT
><DD
><P
>&#13;      Build fhttpd module. DIR is the fhttpd sources directory, defaults to
      <TT
CLASS="filename"
>/usr/local/src/fhttpd</TT
>. No longer available as of PHP
      4.3.0.
     </P
></DD
><DT
><A
NAME="configure.with-isapi"
></A
><VAR
CLASS="option"
>--with-isapi=DIR</VAR
></DT
><DD
><P
>&#13;      Build PHP as an ISAPI module for use with Zeus.
     </P
></DD
><DT
><A
NAME="configure.with-nsapi"
></A
><VAR
CLASS="option"
>--with-nsapi=DIR</VAR
></DT
><DD
><P
>&#13;      Specify path to the installed Netscape/iPlanet/SunONE Webserver.
     </P
></DD
><DT
><A
NAME="configure.with-phttpd"
></A
><VAR
CLASS="option"
>--with-phttpd=DIR</VAR
></DT
><DD
><P
>&#13;      No information yet.
     </P
></DD
><DT
><A
NAME="configure.with-pi3web"
></A
><VAR
CLASS="option"
>--with-pi3web=DIR</VAR
></DT
><DD
><P
>&#13;      Build PHP as a module for use with Pi3Web.
     </P
></DD
><DT
><A
NAME="configure.with-roxen"
></A
><VAR
CLASS="option"
>--with-roxen=DIR</VAR
></DT
><DD
><P
>&#13;      Build PHP as a Pike module. DIR is the base Roxen directory, normally
      <TT
CLASS="filename"
>/usr/local/roxen/server</TT
>.
     </P
></DD
><DT
><A
NAME="configure.enable-roxen-zts"
></A
><VAR
CLASS="option"
>--enable-roxen-zts</VAR
></DT
><DD
><P
>&#13;      Build the Roxen module using Zend Thread Safety.
     </P
></DD
><DT
><A
NAME="configure.with-servlet"
></A
><VAR
CLASS="option"
>--with-servlet[=DIR]</VAR
></DT
><DD
><P
>&#13;      Include servlet support. DIR is the base install directory for the JSDK.
      This SAPI requires the java extension must be built as a shared dl.
     </P
></DD
><DT
><A
NAME="configure.with-thttpd"
></A
><VAR
CLASS="option"
>--with-thttpd=SRCDIR</VAR
></DT
><DD
><P
>&#13;      Build PHP as thttpd module.
     </P
></DD
><DT
><A
NAME="configure.with-tux"
></A
><VAR
CLASS="option"
>--with-tux=MODULEDIR</VAR
></DT
><DD
><P
>&#13;      Build PHP as a TUX module (Linux only).
     </P
></DD
><DT
><A
NAME="configure.with-webjames"
></A
><VAR
CLASS="option"
>--with-webjames=SRCDIR</VAR
></DT
><DD
><P
>&#13;      Build PHP as a WebJames module (RISC OS only)
     </P
></DD
><DT
><A
NAME="configure.disable-cgi"
></A
><VAR
CLASS="option"
>--disable-cgi</VAR
></DT
><DD
><P
>&#13;      Disable building CGI version of PHP. Available with PHP 4.3.0.
     </P
></DD
><DT
><A
NAME="configure.enable-force-cgi-redirect"
></A
><VAR
CLASS="option"
>--enable-force-cgi-redirect</VAR
></DT
><DD
><P
>&#13;      Enable the security check for internal server redirects. You should use
      this if you are running the CGI version with Apache.
     </P
></DD
><DT
><A
NAME="configure.enable-discard-path"
></A
><VAR
CLASS="option"
>--enable-discard-path</VAR
></DT
><DD
><P
>&#13;      If this is enabled, the PHP CGI binary can safely be placed outside of
      the web tree and people will not be able to circumvent <TT
CLASS="filename"
>.htaccess</TT
>
      security.
     </P
></DD
><DT
><A
NAME="configure.with-fastcgi"
></A
><VAR
CLASS="option"
>--with-fastcgi</VAR
></DT
><DD
><P
>&#13;      Build PHP as FastCGI application. No longer available as of PHP 4.3.0,
      instead you should use <VAR
CLASS="option"
>--enable-fastcgi</VAR
>.
     </P
></DD
><DT
><A
NAME="configure.enable-fastcgi"
></A
><VAR
CLASS="option"
>--enable-fastcgi</VAR
></DT
><DD
><P
>&#13;      If this is enabled, the CGI module will be built with support for FastCGI
      also. Available since PHP 4.3.0
     </P
></DD
><DT
><A
NAME="configure.disable-path-info-check"
></A
><VAR
CLASS="option"
>--disable-path-info-check</VAR
></DT
><DD
><P
>&#13;      If this is disabled, paths such as <TT
CLASS="filename"
>/info.php/test?a=b</TT
>
      will fail to work. Available since <VAR
CLASS="literal"
>PHP 4.3.0</VAR
>.
      For more information see the
      <A
HREF="http://httpd.apache.org/docs-2.0/en/mod/core.html#acceptpathinfo"
TARGET="_top"
>Apache Manual</A
>.
     </P
></DD
></DL
></DIV
></DIV
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="phpdevel-errors.html"
ACCESSKEY="P"
>Înapoi</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Acas&#227;</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="ini.html"
ACCESSKEY="N"
>Înainte</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Reporting Errors</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="appendixes.html"
ACCESSKEY="U"
>Sus</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>List of core <TT
CLASS="filename"
>php.ini</TT
> directives</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>