[DOC-CVS] [doc-en] master: Update LuaSandbox installation method (#5725)
[email protected] (Tim Starling via GitHub) Fri, 31 Jul 2026 11:08:14 +0000
| Newsgroups | php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Tim Starling (tstarling)
Committer: GitHub (web-flow)
Pusher: tstarling
Date: 2026-07-31T21:08:11+10:00
Commit: https://github.com/php/doc-en/commit/b02a43722e8c255cc112b829c725747079943f72
Raw diff: https://github.com/php/doc-en/commit/b02a43722e8c255cc112b829c725747079943f72.diff
Update LuaSandbox installation method (#5725)
New releases will be in PIE and Debian.
Changed paths:
M reference/luasandbox/setup.xml
Diff:
diff --git a/reference/luasandbox/setup.xml b/reference/luasandbox/setup.xml
index 6a1ad7e581e5..c85c1ab55f86 100644
--- a/reference/luasandbox/setup.xml
+++ b/reference/luasandbox/setup.xml
@@ -25,23 +25,35 @@
<section xml:id="luasandbox.installation">
&reftitle.install;
- <simpara>
- &pecl.moved;
- </simpara>
- <simpara>
- &pecl.info;
- <link xlink:href="&url.pecl.package;luasandbox">&url.pecl.package;luasandbox</link>.
- </simpara>
+
<para>
If the operating system is Debian 10 or later, or Ubuntu 18.04 or later, then
LuaSandbox should typically be installed from the package
<literal>php-luasandbox</literal>:
- <screen>
+
+ <programlisting role="shell">
<![CDATA[
sudo apt-get install php-luasandbox
]]>
- </screen>
+ </programlisting>
</para>
+
+ <para>
+ To install LuaSandbox using <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="&url.pie;">PIE</link>,
+ run the following command:
+ <programlisting role="shell">
+<![CDATA[
+pie install wikimedia/luasandbox
+]]>
+ </programlisting>
+ </para>
+
+ <note>
+ <simpara>
+ Old releases can be found in the <link xlink:href="&url.pecl.package;luasandbox">LuaSandbox PECL package</link>.
+ </simpara>
+ </note>
+
</section>
</chapter>