Page MenuHomePhorge

Remove PHP APC support and APC references
ClosedPublic

Authored by aklapper on Sat, Apr 5, 17:04.
Tags
None
Referenced Files
F3801773: D25950.1745964515.diff
Mon, Apr 28, 22:08
F3788081: D25950.1745914382.diff
Mon, Apr 28, 08:13
F3645471: D25950.1745377236.diff
Tue, Apr 22, 03:00
F3576065: D25950.1745024408.diff
Fri, Apr 18, 01:00
F3535993: D25950.1744894520.diff
Wed, Apr 16, 12:55
F3530807: D25950.1744875572.diff
Wed, Apr 16, 07:39
F3498427: D25950.1744792309.diff
Tue, Apr 15, 08:31
F3417477: D25950.1744614299.diff
Sun, Apr 13, 07:04

Details

Summary

APC saw its last release in 2012.
It has been discontinued as PHP 5.5+ includes OpCache.
It has been superseded by APCu for object caching.
See https://pecl.php.net/package-info.php?package=APC

Phorge requires PHP 7.2.
Thus remove any references to APC.

Also note that "If APCu is installed, it reports that APC is installed" does not hold true anymore: In PHP 8.3, "php -m" correctly reports "apcu".

Test Plan
  • Make sure APCU is not installed, see `PHP Extension "APCu" Not Installed" under "Unresolved Setup Issues" as an admin
  • Apply patch, still see same issue listed.
  • Install php-pecl-apcu package on Fedora system; see that now the issue is not listed anymore under "Unresolved Setup Issues"

Diff Detail

Repository
rP Phorge
Lint
Lint Not Applicable
Unit
Tests Not Applicable