Skip to content

Commit

Permalink
Sync outdated files (php#926)
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-records authored Oct 22, 2024
1 parent e93adba commit 976594c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
16 changes: 9 additions & 7 deletions language/wrappers/file.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 8bc832a464e33122e8129f5a623bd845b69fa7e0 Maintainer: daijie Status: ready -->
<!-- EN-Revision: 0592e6316d3869b49637df29c471097e7bf78592 Maintainer: daijie Status: ready -->
<!-- CREDITS: Luffy -->
<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">
<refnamediv>
<refname>file://</refname>
Expand All @@ -10,14 +11,15 @@
<refsect1 role="description"><!-- {{{ -->
&reftitle.description;
<para>
<emphasis>文件系统</emphasis> 是 PHP 使用的默认封装协议,展现了本地文件系统
当指定了一个相对路径(不以/、\、\\或 Windows 盘符开头的路径)提供的路径将基于当前的工作目录。
在很多情况下是脚本所在的目录,除非被修改了
使用 CLI 的时候,目录默认是脚本被调用时所在的目录
<literal>file://</literal> 是 PHP 默认使用的封装器,表示本地文件系统
当指定相对路径(不以 <literal>/</literal>、<literal>\</literal>、<literal>\\</literal> 或 Windows 驱动器号开头)时,
提供的路径将应用于当前工作目录。在许多情况下,这是脚本所在的目录,除非已更改
使用 <acronym>CLI</acronym> <acronym>SAPI</acronym> 时,默认为从调用脚本的目录
</para>
<simpara>
在某些函数里,例如 <function>fopen</function> 和 <function>file_get_contents</function>,
<literal>include_path</literal> 会可选地搜索,也作为相对的路径。
在某些函数里,例如 <function>fopen</function> 和
<function>file_get_contents</function>,<literal>include_path</literal>
可能也会被搜索相对路径。
</simpara>
</refsect1><!-- }}} -->

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

<simplesect role="changelog">
Expand Down

0 comments on commit 976594c

Please sign in to comment.