svn: /phpdoc/zh/trunk/ install/cloud/azure.xml language/wrappers/php.xml

From: Date: Thu, 05 Oct 2017 09:43:56 +0000
Subject: svn: /phpdoc/zh/trunk/ install/cloud/azure.xml language/wrappers/php.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-5021@lists.php.net to get a copy of this message
daijie Thu, 05 Oct 2017 09:43:56 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=343194 Log: Sync with EN. Changed paths: U phpdoc/zh/trunk/install/cloud/azure.xml U phpdoc/zh/trunk/language/wrappers/php.xml Modified: phpdoc/zh/trunk/install/cloud/azure.xml =================================================================== --- phpdoc/zh/trunk/install/cloud/azure.xml 2017-10-05 09:39:28 UTC (rev 343193) +++ phpdoc/zh/trunk/install/cloud/azure.xml 2017-10-05 09:43:56 UTC (rev 343194) @@ -1,15 +1,59 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 312448 Maintainer: daijie Status: ready --> +<!-- EN-Revision: 339320 Maintainer: daijie Status: ready --> <sect1 xml:id="install.cloud.azure" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <title>Microsoft Azure</title> - <para> - Azure 云平台 上 PHP 的安装。 <!-- Removed link to fix the build ~sobak 12/06/2016 --> - </para> + <title>Azure App Services</title> <para> - 参见 Azure SDK for PHP。 <!-- Removed link to fix the build ~sobak 12/06/2016 --> + PHP is frequently used on Azure App Services (aka Microsoft Azure, Windows Azure, Azure Web Apps). </para> + + <para>Azure App Services manages pools of Windows Web Servers to host your web application, as an alternative to managing your own web server on your own Azure Compute VMs or other servers. + </para> + <para>PHP is already enabled for your Azure App Services web site automatically. In the Azure Portal, select your web site, and you can choose which version of PHP to use. You may want to choose a newer version than the default. + </para> + + <para>As such, PHP and extensions will run on Azure App Services just as it will on other Windows servers. + + Much of the knowledgebase is also portable, so see the <link linkend="install.windows.troubleshooting">Windows Troubleshooting Page</link> too. + + However, the management interface for Azure App Services is different: + </para> + + <itemizedlist spacing="compact"> + <listitem> + <para>Azure portal: create, edit settings and delete web sites. <link xlink:href="https://portal.azure.com/">Azure Portal</link> + </para> + </listitem> + <listitem> + <para>Kudu Dashboard: [your web site name].azurewebsites.net Then, the Kudu dashboard is <link xlink:href="https://your_web_site_name.scm.azurewebsites.net/">https://[your web site name].scm.azurewebsites.net/</link>. The Dashboard gives you access to some debugging capabilities, file management and site extensions. Site extensions are an Azure mechanism to add extra programs, like PHP preview builds, to your web site. + </para> + </listitem> + <listitem> + <para>You can not use IIS Manager, Server Manager, or RDP.</para> + </listitem> + </itemizedlist> + + <para>There is also a PHP SDK for programmatically using many Azure Services from your PHP code. See <link xlink:href="https://github.com/Azure/azure-sdk-for-php">Azure SDK for PHP</link>. + </para> + + <para>For more information, see <link xlink:href="https://azure.microsoft.com/en-us/develop/php/">Azure PHP Developer Center</link> + </para> + + <sect2> + <title>WinCache</title> + <para>WinCache is enabled by default on Azure App Services and it is recommended that you leave it enabled. + + If you install your own build of PHP, you should enable WinCache on that too. + </para> + </sect2> + + <sect2> + <title>Custom PHP Build</title> + <para>You may upload your own PHP build to your D:\Home (C:\ is NOT writable). Then in the Azure Portal, set SCRIPT_PROCESSOR for .php to the absolute path to php-cgi.exe file in your build. + </para> + </sect2> + </sect1> <!-- Keep this comment at the end of the file Modified: phpdoc/zh/trunk/language/wrappers/php.xml =================================================================== --- phpdoc/zh/trunk/language/wrappers/php.xml 2017-10-05 09:39:28 UTC (rev 343193) +++ phpdoc/zh/trunk/language/wrappers/php.xml 2017-10-05 09:43:56 UTC (rev 343194) @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 339489 Maintainer: daijie Status: ready --> +<!-- EN-Revision: 343104 Maintainer: daijie Status: ready --> <!-- Reviewed: no --> <refentry xml:id="wrappers.php" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" role="noversion"> @@ -16,7 +16,7 @@ 内存中、磁盘备份的临时文件流以及可以操作其他读取写入文件资源的过滤器。 </para> - <refsect2> + <refsect2 xml:id="wrappers.php.std"> <title>php://stdin, php://stdout 和 php://stderr</title> <simpara> <filename>php://stdin</filename>、<filename>php://stdout</filename> 和 @@ -61,7 +61,7 @@ </note> </refsect2> - <refsect2> + <refsect2 xml:id="wrappers.php.output"> <title>php://output</title> <para> <filename>php://output</filename> 是一个只写的数据流, @@ -73,7 +73,7 @@ - <refsect2> + <refsect2 xml:id="wrappers.php.fd"> <title>php://fd</title> <simpara> <filename>php://fd</filename> 允许直接访问指定的文件描述符。 @@ -81,7 +81,7 @@ </simpara> </refsect2> - <refsect2> + <refsect2 xml:id="wrappers.php.memory"> <title>php://memory 和 php://temp</title> <simpara> <filename>php://memory</filename> 和 <filename>php://temp</filename> 是一个类似文件 @@ -97,7 +97,7 @@ </simpara> </refsect2> - <refsect2> + <refsect2 xml:id="wrappers.php.filter"> <title>php://filter</title> <simpara> <filename>php://filter</filename> 是一种元封装器,

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