Skip to content

Commit

Permalink
Use CDATA tags for content of screen tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Girgias committed Dec 2, 2024
1 parent de5eb4b commit e540681
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions install/pecl.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -558,26 +558,26 @@ $ 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
$ ./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
Expand All @@ -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>

Expand Down

0 comments on commit e540681

Please sign in to comment.