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;
  }

CommentFileSizeAuthor
#1 apc_apcu_typo-2377429-1.patch377 bytesiamjon

Issue fork apc-2377429

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

iamjon’s picture

StatusFileSize
new377 bytes
iamjon’s picture

Status: Active » Needs review
Anonymous’s picture

Status: Needs review » Needs work

Typo? See: https://pecl.php.net/package/APCu
Changed status: 'needs work' to decide if this is a typo.

sgdev’s picture

Status: Needs work » Needs review

This is a typo. If using APC and not APCu, it should state so correctly in the status report.

Right now we have a server running APC 3.1.13, and it is erroneously listed in Drupal's status report as "APCu 3.1.13":

APCu	3.1.13
APCu has been running for 21 min 20 sec. Currently caching 53 entries (4.84 MB).

There is no "APCu 3.1.13". This is incorrect and it is due to the issue that @iamjon has identified.

sgdev’s picture

Status: Needs review » Reviewed & tested by the community

I can confirm this patch fixes the issue. Given that this is a very simple patch, marking as reviewed.

avpaderno’s picture

Title: APC/APCu Typo » hook_requirements() check the APC version but it reports it as APCu version
Category: Bug report » Task

  • apaderno committed 31fa8a40 on 7.x-1.x
    Issue #2377429: hook_requirements() check the APC version but it reports...
avpaderno’s picture

Priority: Normal » Minor
Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.