com doc/zh: sync to en: In OpenSSL extension, configargs parameter name was renamed to options.: reference/openssl/configure.xml
| From: | Bole Chen | Date: | Tue, 16 Feb 2021 03:20:58 +0000 |
| Subject: | com doc/zh: sync to en: In OpenSSL extension, configargs parameter name was renamed to options.: reference/openssl/configure.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-5973@lists.php.net to get a copy of this message | ||
Commit: 3610e84f24d94ea29b818173197d1701f71bb723
Author: Bole Chen <avenger@php.net> Tue, 16 Feb 2021 11:20:58 +0800
Parents: 791ce1a232edbde0c68237bc162519927d32a7ee
Branches: master
Link: http://git.php.net/?p=doc/zh.git;a=commitdiff;h=3610e84f24d94ea29b818173197d1701f71bb723
Log:
sync to en: In OpenSSL extension, configargs parameter name was renamed to options.
Changed paths:
M reference/openssl/configure.xml
Diff:
diff --git a/reference/openssl/configure.xml b/reference/openssl/configure.xml
index da2aa1fa..632698e4 100644
--- a/reference/openssl/configure.xml
+++ b/reference/openssl/configure.xml
@@ -1,30 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 9e4c917c09b4eed089d61074189ef81934a9dd23 Maintainer: duanxiaoqiang Status:
ready -->
+<!-- EN-Revision: 102518ddc226f465c8f8e90794b5bde7b9cf8b26 Maintainer: duanxiaoqiang Status:
ready -->
<!-- Reviewed: no -->
-
<section xml:id="openssl.installation" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.install;
<para>
- 要使用 PHP 的 OpenSSL 支持,你应该使用<option
role="configure">--with-openssl[=DIR]</option>参数来编译 PHP。
+ 要使用 PHP 的 OpenSSL 支持,你应该使用 <option
role="configure">--with-openssl[=DIR]</option> 参数来编译 PHP。
</para>
<para>
OpenSSL 库还在运行时对正常操作有额外的要求。最明显的是,OpenSSL
需要访问随机或伪随机数生成器; 在大多数 Unix 和类 Unix
平台上(包括linux),意味着它必须要访问
<literal>/dev/urandom</literal> 或者 <literal>/dev/random</literal>
设备。
</para>
<para>
- 自 PHP 5.6.3起,<option role="configure">--with-system-ciphers</option>
配置选项可用于设置 PHP 使用系统密码列表,而不是硬编码。
+ 自 PHP 5.6.3 起,<option role="configure">--with-system-ciphers</option>
配置选项可用于设置 PHP 使用系统密码列表,而不是硬编码。
</para>
<note>
<title> Win32 平台的用户请注意</title>
<para>
&ext.windows.path.dll;
<filename>libeay32.dll</filename>,
- 或者,自 OpenSSL 1.1起,为<filename>libcrypto-*.dll</filename>
+ 或者,自 OpenSSL 1.1 起,为 <filename>libcrypto-*.dll</filename>
</para>
<para>
此外,如果打算使用密钥生成和证书签名功能,你需要在你的系统上安装一个可用的
<filename>openssl.cnf</filename> 文件。
- 在我们的 win32
二进制发行版本中,我们已经包含了一个示例配置文件,在
+ 在我们的 win32
二进制发行版本中,我们已经包含了一个示例配置文件,在
<filename class="directory">extras/openssl</filename> 文件夹中。
</para>
<para>
@@ -40,17 +39,18 @@
</listitem>
<listitem>
<simpara>假设<filename>openssl.cnf</filename> 文件将会在 openssl DLL
被编译时配置的默认证书区域被找到。这通常意味着默认的文件名是
<filename>C:\Program Files\Common Files\SSL\openssl.cnf</filename>(x64)
- 或者<filename>C:\Program Files (x86)\Common Files\SSL\openssl.cnf</filename>
(x86),而PHP 7.4.0之前,则是<filename>C:\usr\local\ssl\openssl.cnf</filename>。
+ 或者 <filename>C:\Program Files (x86)\Common Files\SSL\openssl.cnf</filename>
(x86),而 PHP 7.4.0之前,则是
<filename>C:\usr\local\ssl\openssl.cnf</filename>。
</simpara>
</listitem>
</itemizedlist>
</para>
<simpara>
-
在你的安装过程中,你需要决定是否将配置文件安装在默认路径或者使用环境变量(可能是基于每个虚拟主机的基础)来定位配置文件安装到其他地方。注意,可以使用引入配置文件的函数中的
<parameter>configargs</parameter> 参数来覆盖脚本中的默认路径。
+
在你的安装过程中,你需要决定是否将配置文件安装在默认路径或者使用环境变量(可能是基于每个虚拟主机的基础)来定位配置文件安装到其他地方。注意,可以使用引入配置文件的函数中的
+ <parameter>options</parameter> 参数来覆盖脚本中的默认路径。
</simpara>
<caution>
<simpara>
- 确保无权限的用户无法修改 <filename>openssl.cnf</filename>文件。
+ 确保无权限的用户无法修改 <filename>openssl.cnf</filename> 文件。
</simpara>
</caution>
</note>