php-doc-en/reference/apcu/setup.xml
2021-12-09 12:51:30 +01:00

88 lines
2.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<chapter xml:id="apcu.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.setup;
<section xml:id="apcu.requirements">
&reftitle.required;
&no.requirement;
</section>
<section xml:id="apcu.installation">
&reftitle.install;
<para>
&pecl.info;
<link xlink:href="&url.pecl.package;apcu">&url.pecl.package;apcu</link>.
</para>
<tip>
<simpara>
PHP 7 has a separate module (<link xlink:href="&url.apc.bc;">apcu-bc</link>) for backwards compatibility with APC.
</simpara>
<para>
In backward compatibility mode, APCu registers the applicable APC functions
with backward compatible prototypes.
</para>
<para>
Where an APC function accepted <parameter>cache_type</parameter>, it is simply
ignored by the backward compatible version, and omitted from the prototype for
the APCu version.
</para>
</tip>
<warning>
<simpara>
As of PHP 8.0.0, apcu-bc is no longer supported.
</simpara>
</warning>
<note>
<simpara>
On Windows, APCu needs a temp path to exist, and be
writable by the web server. It checks the TMP, TEMP
and USERPROFILE environment variables in that order
and finally tries the WINDOWS directory if none of
those are set.
</simpara>
</note>
<note>
<simpara>
For more in-depth, highly technical implementation details, see the
<link xlink:href="&url.apc.technotes;">
developer-supplied TECHNOTES file
</link>.
</simpara>
</note>
<para>
APCu sources can be found <link xlink:href="&url.git.hub;krakjoe/apcu">here</link>.
</para>
</section>
&reference.apcu.ini;
<section xml:id="apcu.resources">
&reftitle.resources;
&no.resource;
</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
-->