mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
91 lines
2.3 KiB
XML
91 lines
2.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<!-- $Revision$ -->
|
||
|
||
<chapter xml:id="rar.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||
&reftitle.setup;
|
||
|
||
<!-- {{{ Requirements -->
|
||
<section xml:id="rar.requirements">
|
||
&reftitle.required;
|
||
&no.requirement;
|
||
</section>
|
||
<!-- }}} -->
|
||
|
||
<!-- {{{ Installation -->
|
||
<section xml:id="rar.installation">
|
||
&reftitle.install;
|
||
<para>
|
||
Rar is currently available through PECL
|
||
<link xlink:href="&url.pecl.package;rar">&url.pecl.package;rar</link>.
|
||
</para>
|
||
<para>
|
||
Also you can use the PECL installer to install the Rar extension,
|
||
using the following command: <command>pecl -v install rar</command>.
|
||
</para>
|
||
<para>
|
||
You can always download the <filename>tar.gz</filename> package and install Rar by hand:
|
||
<example>
|
||
<title>Rar installation</title>
|
||
<programlisting role="shell">
|
||
<![CDATA[
|
||
gunzip rar-xxx.tgz
|
||
tar -xvf rar-xxx.tar
|
||
cd rar-xxx
|
||
phpize
|
||
./configure && make && make install
|
||
]]>
|
||
</programlisting>
|
||
</example>
|
||
</para>
|
||
<para>
|
||
Windows users will enable <filename>php_rar.dll</filename> inside
|
||
of &php.ini; in order to use these functions.
|
||
&pecl.windows.download;
|
||
</para>
|
||
</section>
|
||
<!-- }}} -->
|
||
|
||
<!-- {{{ Configuration -->
|
||
&reference.rar.ini;
|
||
<!-- }}} -->
|
||
|
||
<!-- {{{ Resources -->
|
||
<section xml:id="rar.resources">
|
||
&reftitle.resources;
|
||
<para>
|
||
This extension registers three internal classes:
|
||
the archive representations returned by <function>rar_open</function> –
|
||
<type>RarArchive</type>, the entry representations returned by
|
||
<function>rar_list</function> and <function>rar_entry_get</function> –
|
||
<type>RarEntry</type> and the exception type <type>RarException</type>.
|
||
</para>
|
||
<para>
|
||
This extension also register a stream resource, called "rar" and a URL
|
||
wrapper called "rar wrapper" and registered under the prefix "rar".
|
||
</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
|
||
-->
|
||
|