svn: /phpdoc/zh/trunk/install/windows/ index.xml

From: Date: Wed, 16 Nov 2016 09:07:57 +0000
Subject: svn: /phpdoc/zh/trunk/install/windows/ index.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-4721@lists.php.net to get a copy of this message
daijie Wed, 16 Nov 2016 09:07:57 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=341042 Log: patch accepted Changed paths: U phpdoc/zh/trunk/install/windows/index.xml Modified: phpdoc/zh/trunk/install/windows/index.xml =================================================================== --- phpdoc/zh/trunk/install/windows/index.xml 2016-11-16 09:06:13 UTC (rev 341041) +++ phpdoc/zh/trunk/install/windows/index.xml 2016-11-16 09:07:57 UTC (rev 341042) @@ -1,60 +1,95 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 321349 Maintainer: class007 Status: ready --> +<!-- EN-Revision: 339750 --> <chapter xml:id="install.windows" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Windows 系统下的安装</title> - <para> - 本节内容适用于 Windows 98/Me 以及 Windows NT/2000/XP/2003。PHP - 不能在 16 位平台例如 Windows 3.1 下运行。有时把支持 PHP 的 Windows - 平台称为 Win32。自 PHP 4.3.0 开始不再支持 Windows 95。 - </para> - <note> <para> - 自 PHP 5.3.0 起不再支持 Windows 98/ME/NT4。 + Installing PHP on modern Microsoft Windows systems and recommended configuration with common web servers. </para> - </note> - <note> + <note> + <para> + If you are looking for information about older systems, such as Windows XP, 2003, 98 or Apache 1.x, see the <link linkend="install.windows.legacy.index">Legacy Info</link> section. + </para> + </note> + <para> - 自 PHP 4.3.0 起不再支持 Windows 95。 + The Official releases of PHP on Windows are recommended for production use. + However, you are welcome to build PHP from Source. You will need a Visual Studio environment. See <link xlink:href="https://wiki.php.net/internals/windows/stepbystepbuild">Step by Step Build Instructions</link>. </para> - </note> - <para> - 有两种方法在 Windows 下安装 PHP:<link - linkend="install.windows.manual">手工安装</link>或者使用<link - linkend="install.windows.installer">安装程序</link>安装。 - </para> - <para> - 如果有开发环境例如 Microsoft Visual Studio,也可以<link - linkend="install.windows.building">编译</link> PHP 的源程序。 - </para> - <para> - 一旦在 Windows 系统下安装好 PHP 之后,可能需要<link - linkend="install.windows.extensions">加载各种扩展库</link>以实现更多的功能。 - </para> - <warning> <para> - 互联网上还有一些多合一的安装程序,但是它们没有一个是被 PHP.net 认可的,因为我们相信,从 - <link xlink:href="&url.php.downloads;">&url.php.downloads;</link> - 下载官方 Windows 安装包是系统安全和优化的最好选择。 + <itemizedlist spacing="compact"> + <listitem> + <para> + <link linkend="install.windows.legacy.commandline">Using PHP on Windows Command line</link> + </para> + </listitem> + <listitem> + <para> + <link linkend="install.cloud.azure">Installing PHP on Azure App Services</link> (aka Microsoft Azure, Windows Azure, or (Windows) Azure Web Apps). + </para> + </listitem> + </itemizedlist> </para> - </warning> - - &install.windows.legacy.installer; - &install.windows.legacy.installermsi; - &install.windows.legacy.manual; - &install.windows.legacy.iis; - &install.windows.legacy.iis6; - &install.windows.legacy.iis7; - &install.windows.legacy.apache1; - &install.windows.legacy.apache2; - &install.windows.legacy.sun; - &install.windows.legacy.sambar; - &install.windows.legacy.xitami; - &install.windows.legacy.building; - &install.windows.legacy.extensions; - &install.windows.legacy.commandline; + + <sect1 xml:id="install.windows.requirements"> + <title>Install Requirements</title> + + <para> + PHP 5.5+ require at least Windows 2008/Vista, or 2008r2, 2012, 2012r2, 2016 or 7, 8, 8.1, 10. Either 32-Bit or 64-bit (aka X86 or X64. PHP does not run on Windows RT/WOA/ARM). + </para> + + <para> + PHP requires the Visual C runtime(CRT). Many applications require that so it may already be installed. + </para> + + <para> + PHP 5.5 and 5.6 require VC CRT 11 (Visual Studio 2012). See: <link xlink:href="https://www.microsoft.com/en-us/download/details.aspx?id=30679">https://www.microsoft.com/en-us/download/details.aspx?id=30679</link> + </para> + + <para> + PHP 7.0+ requires VC CRT 14 (Visual Studio 2015). See: <link xlink:href="https://www.microsoft.com/en-us/download/details.aspx?id=48145">https://www.microsoft.com/en-us/download/details.aspx?id=48145</link> + </para> + + <para> + You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. + </para> + + <para> + If CRT is already installed, the installer will tell you that and not change anything. + </para> + + <para> + The CRT installer supports the /quiet and /norestart command-line switches, so you can script running it. + </para> + + <para> + VC11 CRT DLLs can be copied from your local machine to a remote machine(a Copy Deployment installation) instead of running the installer on the remote machine (such as a web server you have restricted access to). See: http://www.sitepoint.com/install-php53-windows/ + </para> + + <para> + VC14 CRT does not support a Copy Deployment installation. VC14 CRT has many more DLLs(most in files with names starting with api-*). If you can find them all and copy them, it will also work (try a tool like Resource Hacker to get a list of all the DLLs to copy). + </para> + + </sect1> + + <sect1 xml:id="install.windows.pecl"> + <title>PECL</title> + + <para>PECL extensions are pre-built for Windows and available from: <link xlink:href="http://windows.php.net/downloads/pecl/releases/">http://windows.php.net/downloads/pecl/releases/</link> + </para> + + <para>Some extensions use features specific to some Unix systems and so are not available on Windows. Otherwise, all extensions are available for Windows. + </para> + </sect1> + + <!-- Critical: ensure all pages in install/windows and that install/windows/legacy/index are referenced here! + otherwise you will get IDREF attribute errors for all links --> + &install.windows.tools; + &install.windows.recommended; + &install.windows.manual; + &install.windows.troubleshooting; + &install.windows.legacy.index; </chapter> - <!-- Keep this comment at the end of the file Local variables: mode: sgml @@ -74,4 +109,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> \ No newline at end of file +--> \ No newline at end of file

« previous php.doc.zh (#4721) next »