Skip to content

Commit d6eb5fd

Browse files
committed
Fix GH-1188: APCu Installation page is outdated
1 parent 690c3ea commit d6eb5fd

File tree

2 files changed

+16
-20
lines changed

2 files changed

+16
-20
lines changed

reference/apcu/book.xml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,7 @@
1818
</para>
1919
<para>
2020
The first APCu codebase was versioned 4.0.0, it was forked from the head of the APC master branch at the time.
21-
</para>
22-
<para>
23-
PHP 7 support is available as of APCu 5.0.0.
24-
</para>
25-
<para>
26-
APCu can provide a compatibility mode, such that it can provide a drop in replacement for the applicable parts of APC.
21+
PHP 7 support is available as of APCu 5.0.0. PHP 8 support is available as of APCu 5.1.19.
2722
</para>
2823
</preface>
2924

reference/apcu/setup.xml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,25 @@
1515
&pecl.info;
1616
<link xlink:href="&url.pecl.package;apcu">&url.pecl.package;apcu</link>.
1717
</para>
18-
<para>
19-
If backward compatibility with the applicable parts of APC is required,
20-
APCu must be configured with the option --enable-apcu-bc.
21-
</para>
18+
<tip>
19+
<simpara>
20+
PHP 7 has a separate module (<link xlink:href="&url.apc.bc;">apcu-bc</link>) for backwards compatibility with APC.
21+
</simpara>
22+
<para>
23+
In backward compatibility mode, APCu registers the applicable APC functions
24+
with backward compatible prototypes.
25+
</para>
26+
<para>
27+
Where an APC function accepted <parameter>cache_type</parameter>, it is simply
28+
ignored by the backward compatible version, and omitted from the prototype for
29+
the APCu version.
30+
</para>
31+
</tip>
2232
<warning>
2333
<simpara>
24-
PHP 7 has a separate module (<link xlink:href="&url.apc.bc;">apc.so</link>) for backwards compatibility with APC.
34+
As of PHP 8.0.0, apcu-bc is no longer supported.
2535
</simpara>
2636
</warning>
27-
<para>
28-
In backward compatibility mode, APCu registers the applicable APC functions
29-
with backward compatible prototypes.
30-
</para>
31-
<para>
32-
Where an APC function accepted <parameter>cache_type</parameter>, it is simply
33-
ignored by the backward compatible version, and omitted from the prototype for
34-
the APCu version.
35-
</para>
3637
<note>
3738
<simpara>
3839
On Windows, APCu needs a temp path to exist, and be

0 commit comments

Comments
 (0)