Sophie

Sophie

distrib > Mandriva > 2008.1 > i586 > by-pkgid > 703d980c580707c382b4e43e25965bc5 > files > 11750

php-manual-pt_BR-5.2.4-1mdv2008.1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>Instalação em sistemas Windows</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="Manual do PHP"
HREF="index.html"><LINK
REL="UP"
TITLE="Instalação e Configuração"
HREF="install.html"><LINK
REL="PREVIOUS"
TITLE="Compilando para o MacOS X - Versão Cliente"
HREF="install.macosx.client.html"><LINK
REL="NEXT"
TITLE="Instalador do PHP para o Windows (PHP 5.1.0 e anterior)"
HREF="install.windows.installer.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=UTF-8"></HEAD
><BODY
CLASS="chapter"
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 do PHP</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="install.macosx.client.html"
ACCESSKEY="P"
>Anterior</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="install.windows.installer.html"
ACCESSKEY="N"
>Próxima</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="chapter"
><H1
><A
NAME="install.windows"
>Capítulo 6. Instalação em sistemas Windows</A
></H1
><DIV
CLASS="TOC"
><DL
><DT
><B
>Índice</B
></DT
><DT
><A
HREF="install.windows.html#install.windows.installer.msi"
>Windows Installer (PHP 5.2 and later)</A
></DT
><DT
><A
HREF="install.windows.installer.html"
>Instalador do PHP para o Windows (PHP 5.1.0 e anterior)</A
></DT
><DT
><A
HREF="install.windows.manual.html"
>Passos da Instalação Manual</A
></DT
><DT
><A
HREF="install.windows.activescript.html"
>ActiveScript</A
></DT
><DT
><A
HREF="install.windows.iis.html"
>Microsoft IIS / PWS</A
></DT
><DT
><A
HREF="install.windows.apache1.html"
>Apache 1.3.x no Microsoft Windows</A
></DT
><DT
><A
HREF="install.windows.apache2.html"
>Apache 2.0.x no Microsoft Windows</A
></DT
><DT
><A
HREF="install.windows.sun.html"
>Servidores Sun, iPlanet e Netscape no Microsoft Windows</A
></DT
><DT
><A
HREF="install.windows.omnihttpd.html"
>Servidor OmniHTTPd</A
></DT
><DT
><A
HREF="install.windows.sambar.html"
>Servidor Sambar no Microsoft Windows</A
></DT
><DT
><A
HREF="install.windows.xitami.html"
>Xitami no Microsoft Windows</A
></DT
><DT
><A
HREF="install.windows.building.html"
>Compilando a partir dos fontes</A
></DT
><DT
><A
HREF="install.windows.extensions.html"
>Instalação de extensões no Windows</A
></DT
></DL
></DIV
><P
>&#13;    Essa seção aplica-se ao  Windows 98/Me e Windows NT/2000/XP/2003. O PHP
    não funcionará em plataformas 16 bit como o Windows 3.1 e algumas vezes
    nos referimos às plataformas Windows suportadas como Win32. Windows 95
    não é mais suportado a partir do PHP 4.3.0.
   </P
><P
>&#13;    Existem duas maneiras principais de instalar o PHP para o Windows: ou
    <A
HREF="install.windows.manual.html"
>manualmente</A
>
    ou usando o <A
HREF="install.windows.installer.html"
>instalador</A
>.
   </P
><P
>&#13;    Se você tiver o Microsoft Visual Studio, você pode também
    <A
HREF="install.windows.building.html"
>compilar</A
>
    o PHP a partir do código-fonte original.
   </P
><P
>&#13;    Uma vez que você tiver o PHP instalado no seu sistema Windows, você pode também
    querer <A
HREF="install.windows.extensions.html"
>carregar várias extensões</A
>
    para adicionar funcionalidades.
   </P
><DIV
CLASS="warning"
><P
></P
><TABLE
CLASS="warning"
BORDER="1"
WIDTH="100%"
><TR
><TD
ALIGN="CENTER"
><B
>Atenção</B
></TD
></TR
><TR
><TD
ALIGN="LEFT"
><P
>&#13;     Existem vários instaladores completos na Internet, mas nenhum deles
     é apoioado pelo PHP.net, já que acreditamos que a instalação manual  
     é a melhor maneira de ter seu sistema seguro e otimizado.
    </P
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="install.windows.installer.msi"
>Windows Installer (PHP 5.2 and later)</A
></H1
><P
>&#13;     The Windows PHP installer for later versions of PHP is built using MSI
     technology using the Wix Toolkit (<A
HREF="http://wix.sourceforge.net/"
TARGET="_top"
>http://wix.sourceforge.net/</A
>). 
     It will install and configure PHP and all the built-in and 
     <ACRONYM
CLASS="acronym"
>PECL</ACRONYM
> extensions, as well as configure many of the 
     popular web servers such as <ACRONYM
CLASS="acronym"
>IIS</ACRONYM
>, Apache, and Xitami.
    </P
><P
>&#13;     First, install your selected <ACRONYM
CLASS="acronym"
>HTTP</ACRONYM
> (web) server on your 
     system, and make sure that it works. Then proceed with one of the following
     install types.
    </P
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="install.windows.installer.msi.normal"
>Normal Install</A
></H2
><P
>&#13;      Run the MSI installer and follow the instructions provided by the
      installation wizard. You will be prompted to select the Web Server you
      wish to configure first, along with any configuration details needed.
     </P
><P
>&#13;      You will then be prompted to select which features and extensions you
      wish to install and enable. By selecting "Will be installed on local 
      hard drive" in the drop-down menu for each item you can trigger whether
      to install the feature or not. By selecting "Entire feature will be 
      installed on local hard drive", you will be able to install all 
      sub-features of the included feature ( for example by selecting this 
      options for the feature "PDO" you will install all PDO Drivers ).
     </P
><DIV
CLASS="warning"
><P
></P
><TABLE
CLASS="warning"
BORDER="1"
WIDTH="100%"
><TR
><TD
ALIGN="CENTER"
><B
>Atenção</B
></TD
></TR
><TR
><TD
ALIGN="LEFT"
><P
>&#13;       It is not recommended to install all extensions by default, since many
       other them require dependencies from outside PHP in order to function
       properly. Instead, use the Installation Repair Mode that can be
       triggered thru the 'Add/Remove Programs' control panel to
       enable or disable extensions and features after installation.
      </P
></TD
></TR
></TABLE
></DIV
><P
>&#13;      The installer then sets up PHP to be used in Windows and the <TT
CLASS="filename"
>php.ini</TT
>
      file, and configures certain web servers to use PHP. The installer will
      currently configure IIS (CGI mode only), Apache, Xitami, and Sambar
      Server; if you are using a different web server you'll need to
      configure it manually. 
     </P
></DIV
><DIV
CLASS="sect2"
><H2
CLASS="sect2"
><A
NAME="install.windows.installer.msi.silent"
>Silent Install</A
></H2
><P
>&#13;      The installer also supports a silent mode, which is helpful for Systems
      Administrators to deploy PHP easily. To use silent mode:
      <TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
CELLPADDING="5"
><TR
><TD
><PRE
CLASS="screen"
>msiexec.exe /i php-VERSION-win32-install.msi /q</PRE
></TD
></TR
></TABLE
>
     </P
><P
>&#13;      You can control the install directory by passing it as a parameter to the
      install. For example, to install to e:\php:
      <TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
CELLPADDING="5"
><TR
><TD
><PRE
CLASS="screen"
>msiexec.exe /i php-VERSION-win32-install.msi /q INSTALLDIR=e:\php</PRE
></TD
></TR
></TABLE
>
      You can also use the same syntax to specify the Apache Configuration
      Directory (APACHEDIR), the Sambar Server directory (SAMBARDIR), and the
      Xitami Server directory (XITAMIDIR).
     </P
><P
>&#13;      You can also specify what features to install. For example, to install 
      the mysqli extension and the CGI executable:
      <TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
CELLPADDING="5"
><TR
><TD
><PRE
CLASS="screen"
>msiexec.exe /i php-VERSION-win32-install.msi /q ADDLOCAL=cgi,ext_php_mysqli</PRE
></TD
></TR
></TABLE
>
     </P
><P
>&#13;      The current list of Features to install is as follows:
      <TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
CELLPADDING="5"
><TR
><TD
><PRE
CLASS="screen"
>MainExecutable - php.exe executable
ScriptExecutable - php-win.exe executable
ext_php_* - the various extensions ( for example: ext_php_mysql for MySQL )
apache13 - Apache 1.3 module
apache20 - Apache 2.0 module
apache22 - Apache 2,2 module
apacheCGI - Apache CGI executable
iis4ISAPI - IIS ISAPI module
iis4CGI - IIS CGI executable
NSAPI - Sun/iPlanet/Netscape server module
Xitami - Xitami CGI executable
Sambar - Sambar Server ISAPI module
CGI - php-cgi.exe executable
PEAR - PEAR installer
Manual - PHP Manual in CHM Format</PRE
></TD
></TR
></TABLE
>
     </P
><P
>&#13;      For more information on installing MSI installers from the command line,
      visit <A
HREF="http://msdn.microsoft.com/library/en-us/msi/setup/command_line_options.asp"
TARGET="_top"
>http://msdn.microsoft.com/library/en-us/msi/setup/command_line_options.asp</A
>
     </P
></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="install.macosx.client.html"
ACCESSKEY="P"
>Anterior</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Principal</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="install.windows.installer.html"
ACCESSKEY="N"
>Próxima</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Compilando para o MacOS X - Versão Cliente</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="install.html"
ACCESSKEY="U"
>Acima</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Instalador do PHP para o Windows (PHP 5.1.0 e anterior)</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>