php-doc-en/reference/phar/setup.xml
2013-10-09 06:36:49 +00:00

75 lines
2.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<chapter xml:id="phar.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.setup;
<!-- {{{ Requirements -->
<section xml:id="phar.requirements">
&reftitle.required;
<para>
Phar requires PHP 5.2.0 or newer. Additional features require the
<link linkend="book.spl">SPL</link> extension in order to take advantage
of iteration and array access to a Phar's file contents. The <literal>phar</literal>
stream does not require any additional extensions to function.
</para>
<para>
You may optionally wish to enable the <link linkend="book.zlib" >zlib</link>
and <link linkend="book.bzip2" >bzip2</link> extensions to take
advantage of compressed phar support. In addition, to take advantage of
OpenSSL signing, the <link linkend="book.openssl">OpenSSL</link> extension must be
enabled.
</para>
<para>
Note that a bug in the <link linkend="filters.compression">zlib.deflate</link> stream filter
fixed in PHP version 5.2.6 and newer may cause truncation of gzip and bzip2-compressed
phar archives.
</para>
<para>
PHP 5.3 configured with <literal>--enable-zend-multibyte</literal> makes <link linkend="book.phar">phar</link> dependant on the ini option <literal>detect_unicode</literal>.
</para>
</section>
<!-- }}} -->
<!-- {{{ Installation -->
&reference.phar.installation;
<!-- }}} -->
<!-- {{{ Configuration -->
&reference.phar.ini;
<!-- }}} -->
<!-- {{{ Resources -->
<section xml:id="phar.resources">
&reftitle.resources;
<para>
The Phar extension provides the <literal>phar</literal> stream, which
allows accessing files contained within a phar transparently. See also the
<link linkend="phar.fileformat">description of the Phar file format</link>.
</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
-->