hook_requirements() check the APC version but it reports it as APCu version

Created on 18 November 2014, about 10 years ago
Updated 28 July 2024, 5 months ago

In apc.install line 29
There is a typo

else {
    $version = phpversion('apc');
    $name = $t('APCu');
    $description = $t('APC needs version >=3.1.1.');

    $meets_version = version_compare($version, '3.1.1') >= 0;
  }

Should be

else {
    $version = phpversion('apc');
    $name = $t('APC');
    $description = $t('APC needs version >=3.1.1.');

    $meets_version = version_compare($version, '3.1.1') >= 0;
  }

📌 Task
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇱Israel iamjon

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024