mirror of
https://github.com/php/doc-zh.git
synced 2026-03-24 07:02:15 +01:00
70 lines
1.9 KiB
XML
70 lines
1.9 KiB
XML
<?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 >= 0.9.8。PHP 7.1-8.0 需要 OpenSSL
|
||
>= 1.0.1,< 3.0。PHP >= 8.1 支持 OpenSSL >= 1.0.2, < 4.0。
|
||
PHP >= 8.4 支持 OpenSSL >= 1.1.1, < 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
|
||
-->
|
||
|