[DOC-CVS] [doc-en] master: Document openssl.libctx INI (#5033)
[email protected] (Jakub Zelenka via GitHub)
| Newsgroups | php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Jakub Zelenka (bukka)
Committer: GitHub (web-flow)
Pusher: Girgias
Date: 2026-01-09T02:05:54Z
Commit: https://github.com/php/doc-en/commit/244c788631898cbbbeae7b291df2ca57fb935b6a
Raw diff: https://github.com/php/doc-en/commit/244c788631898cbbbeae7b291df2ca57fb935b6a.diff
Document openssl.libctx INI (#5033)
Changed paths:
M reference/openssl/ini.xml
Diff:
diff --git a/reference/openssl/ini.xml b/reference/openssl/ini.xml
index 234f43b76df5..4e2f5e5a0fea 100644
--- a/reference/openssl/ini.xml
+++ b/reference/openssl/ini.xml
@@ -28,6 +28,12 @@
<entry><constant>INI_PERDIR</constant></entry>
<entry></entry>
</row>
+ <row>
+ <entry>openssl.libctx</entry>
+ <entry>"custom"</entry>
+ <entry><constant>INI_PERDIR</constant></entry>
+ <entry></entry>
+ </row>
</tbody>
</tgroup>
</table>
@@ -64,6 +70,23 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry xml:id="ini.openssl.libctx">
+ <term>
+ <parameter>openssl.libctx</parameter>
+ <type>string</type>
+ </term>
+ <listitem>
+ <simpara>
+ Specifies the type of OpenSSL library context to use.
+ The default value, <literal>custom</literal>, creates a separate
+ library context for each worker or thread.
+ This improves isolation from other libraries using OpenSSL and,
+ in ZTS builds, increases separation between threads.
+ It is also possible to use the <literal>default</literal> value, which
+ causes PHP to use OpenSSL's global default library context.
+ </simpara>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>