1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-23 23:32:18 +01:00

Use CDATA tags for content of screen tags (#4224)

This commit is contained in:
Gina Peter Banyard
2024-12-03 01:03:02 +00:00
committed by GitHub
parent 2cc28adf4b
commit 111535af69

View File

@@ -99,11 +99,11 @@
To download straight from <acronym>SVN</acronym>,
the following sequence of commands may be used:
</simpara>
<para>
<screen>
<screen>
<![CDATA[
$ svn checkout https://svn.php.net/repository/pecl/extname/trunk extname
</screen>
</para>
]]>
</screen>
</listitem>
<listitem>
<simpara>
@@ -331,11 +331,11 @@ Loaded Configuration File C:\Program Files\PHP\8.2\php.ini
<link xlink:href="&url.php.pear.cli;">pecl command</link>,
do the following:
</simpara>
<para>
<screen>
<screen>
<![CDATA[
$ pecl install extname
</screen>
</para>
]]>
</screen>
<simpara>
This will download the source for <emphasis>extname</emphasis>,
compile, and install <filename>extname.so</filename> into the
@@ -352,19 +352,19 @@ $ pecl install extname
a <literal>beta</literal> package may be installed using the following
command:
</simpara>
<para>
<screen>
<screen>
<![CDATA[
$ pecl install extname-beta
</screen>
</para>
]]>
</screen>
<para>
A specific version may also be installed using this variant:
</para>
<para>
<screen>
<screen>
<![CDATA[
$ pecl install extname-0.1
</screen>
</para>
]]>
</screen>
<note>
<para>
After enabling the extension in &php.ini;, restarting the web service is
@@ -558,17 +558,17 @@ $ mv extname-x.x.x extname
<simpara>
This will result in the following directory:
</simpara>
<para>
<screen>
/path/to/php/src/dir/ext/extname
</screen>
</para>
<screen>
<![CDATA[
/path/to/php/src/dir/ext/extname
]]>
</screen>
<simpara>
From here, PHP needs to be forced to rebuild the configure script, and then
it can be built as normal:
</simpara>
<para>
<screen>
<screen>
<![CDATA[
$ cd /path/to/php/src/dir
$ rm configure
$ ./buildconf --force
@@ -576,8 +576,8 @@ $ ./configure --help
$ ./configure --with-extname --enable-someotherext --with-foobar
$ make
$ make install
</screen>
</para>
]]>
</screen>
<note>
<simpara>
To run the <command>buildconf</command> script, the
@@ -601,11 +601,11 @@ $ make install
<option role="configure">--enable</option>.
To be sure, run the following after <command>buildconf</command>:
</simpara>
<para>
<screen>
<screen>
<![CDATA[
$ ./configure --help | grep extname
</screen>
</para>
]]>
</screen>
</sect1>
</chapter>