Skip to content

Commit 976594c

Browse files
authored
Sync outdated files (#926)
1 parent e93adba commit 976594c

File tree

2 files changed

+17
-9
lines changed

2 files changed

+17
-9
lines changed

language/wrappers/file.xml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 8bc832a464e33122e8129f5a623bd845b69fa7e0 Maintainer: daijie Status: ready -->
3+
<!-- EN-Revision: 0592e6316d3869b49637df29c471097e7bf78592 Maintainer: daijie Status: ready -->
4+
<!-- CREDITS: Luffy -->
45
<refentry xml:id="wrappers.file" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" annotations="verify_info:false" role="stream_wrapper">
56
<refnamediv>
67
<refname>file://</refname>
@@ -10,14 +11,15 @@
1011
<refsect1 role="description"><!-- {{{ -->
1112
&reftitle.description;
1213
<para>
13-
<emphasis>文件系统</emphasis> 是 PHP 使用的默认封装协议,展现了本地文件系统
14-
当指定了一个相对路径(不以/、\、\\或 Windows 盘符开头的路径)提供的路径将基于当前的工作目录。
15-
在很多情况下是脚本所在的目录,除非被修改了
16-
使用 CLI 的时候,目录默认是脚本被调用时所在的目录
14+
<literal>file://</literal> 是 PHP 默认使用的封装器,表示本地文件系统
15+
当指定相对路径(不以 <literal>/</literal>、<literal>\</literal>、<literal>\\</literal> 或 Windows 驱动器号开头)时,
16+
提供的路径将应用于当前工作目录。在许多情况下,这是脚本所在的目录,除非已更改
17+
使用 <acronym>CLI</acronym> <acronym>SAPI</acronym> 时,默认为从调用脚本的目录
1718
</para>
1819
<simpara>
19-
在某些函数里,例如 <function>fopen</function> 和 <function>file_get_contents</function>,
20-
<literal>include_path</literal> 会可选地搜索,也作为相对的路径。
20+
在某些函数里,例如 <function>fopen</function> 和
21+
<function>file_get_contents</function>,<literal>include_path</literal>
22+
可能也会被搜索相对路径。
2123
</simpara>
2224
</refsect1><!-- }}} -->
2325

reference/openssl/configure.xml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 7d53b14e4fba186b0712c6de83f1bb2f41fb276f Maintainer: duanxiaoqiang Status: ready -->
3+
<!-- EN-Revision: badd30777a8ce1e6ad58265e36dfa76452e90119 Maintainer: duanxiaoqiang Status: ready -->
44
<!-- CREDITS: Luffy, mowangjuanzi -->
55
<section xml:id="openssl.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
66
&reftitle.install;
@@ -15,7 +15,7 @@
1515
<option role="configure">--with-system-ciphers</option> 配置选项可用于设置 PHP 使用系统密码列表,而不是硬编码。
1616
</para>
1717
<note>
18-
<title> Win32 平台的用户请注意</title>
18+
<title>Win32 平台的用户请注意</title>
1919
<para>
2020
&ext.windows.path.dll;
2121
<filename>libeay32.dll</filename>,
@@ -53,6 +53,12 @@
5353
确保无权限的用户无法修改 <filename>openssl.cnf</filename> 文件。
5454
</simpara>
5555
</caution>
56+
<simpara>
57+
自 OpenSSL 3.0.0 起,Windows 上默认使用的 OpenSSL 版本为 PHP 8.2.0,已经将几种算法视为遗留算法。
58+
这些算法通常已经不再使用,被密码学社区视为不安全,或者类似的原因。
59+
这些算法仍然可以通过遗留提供者(<filename>extras/ssl/legacy.dll</filename>)使用;其使用方法在 OpenSSL 手册的
60+
<link xlink:href="&url.openssl.config;#Provider-Configuration">提供者配置</link>部分中有描述。
61+
</simpara>
5662
</note>
5763

5864
<simplesect role="changelog">

0 commit comments

Comments
 (0)