1
0
mirror of https://github.com/php/doc-zh.git synced 2026-03-24 07:02:15 +01:00
Files
archived-doc-zh/reference/openssl/setup.xml
2025-03-27 08:21:25 +08:00

70 lines
1.9 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 3fa666ce023c7f5005cae5c3bf4fbef2b47ef9d1 Maintainer: duanxiaoqiang Status: ready -->
<!-- CREDITS: mowangjuanzi, Luffy -->
<chapter xml:id="openssl.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.setup;
<!-- {{{ Requirements -->
<section xml:id="openssl.requirements">
&reftitle.required;
<para>
要使用 Open SSL 函数,你必须安装<link xlink:href="&url.openssl;">OpenSSL</link> 库。
PHP 7.0 需要 OpenSSL &gt;= 0.9.8。PHP 7.1-8.0 需要 OpenSSL
&gt;= 1.0.1&lt; 3.0。PHP &gt;= 8.1 支持 OpenSSL &gt;= 1.0.2, &lt; 4.0。
PHP &gt;= 8.4 支持 OpenSSL &gt;= 1.1.1, &lt; 4.0。
</para>
<warning>
<para>
强烈建议使用维护的 OpenSSL 版本,否则 web 服务器很容易受到攻击。
</para>
</warning>
</section>
<!-- }}} -->
<!-- {{{ Installation -->
&reference.openssl.configure;
<!-- }}} -->
<!-- {{{ Configuration -->
&reference.openssl.ini;
<!-- }}} -->
<!-- {{{ Resources -->
<section xml:id="openssl.resources">
&reftitle.resources;
<para>
在 PHP 8.0.0 之前OpenSSL 模块中定义了 3 种资源类型:
<simplelist>
<member><literal>OpenSSL key</literal></member>
<member><literal>OpenSSL X.509</literal></member>
<member><literal>OpenSSL X.509 CSR</literal></member>
</simplelist>
</para>
</section>
<!-- }}} -->
</chapter>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->