Last modified: 2014-01-19 01:09:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T61998, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59998 - Installer warning irrelevant/obsolete for PHP ≥5.4: 'Could not find APC, XCache or WinCache'
Installer warning irrelevant/obsolete for PHP ≥5.4: 'Could not find APC, XCac...
Status: NEW
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.22.0
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: newphp
Depends on:
Blocks: 49975
  Show dependency treegraph
 
Reported: 2014-01-13 14:16 UTC by walter
Modified: 2014-01-19 01:09 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description walter 2014-01-13 14:16:28 UTC
Installer claims:

"Warning: Could not find APC, XCache or WinCache. Object caching is not enabled."

However, this is php 5.5 and the web suggests that APC-like functionality is apparently pre-integrated.

I would suggest making the installer not mention things that are not relevant ... like wincache on Unix, or any of this muck on php equal to or beyond 5.5.
Comment 1 Andre Klapper 2014-01-13 15:02:56 UTC
Which MediaWiki version is this about? 1.22.0?
Comment 2 walter 2014-01-13 15:08:48 UTC
Yes 1.22.0
Comment 3 walter 2014-01-13 15:09:30 UTC
BTW apparently it's php > 5.4 not php > 5.5 where APC is built in.
Comment 4 Dereckson 2014-01-19 00:59:49 UTC
- The Zend OPcache extension is shipped and by default enabled with PHP 5.5. Cf.  http://www.php.net/manual/en/migration55.new-features.php

- Zend OPcache doesn't contain an object-level cache. MediaWiki can takes advantage of a cache allowing to store object representations (calling for APC the apc_store function).

- Nor PHP 5.4, nor PHP 5.5 include APC. But PHP 5.4 introduced a new extension API. Recent versions for APC works at a stable quality on PHP 5.3, but not on PHP 5.4 or PHP 5.5. APC development hasn't been active since 2012.

- In October 2013, an XCache version with PHP 5.5 support has been released.
Comment 5 Dereckson 2014-01-19 01:03:42 UTC
In confirm the bug, in the extent we should detect the PHP version and stop to recommend to install APC in 5.4+, as it could only lead system administrators to try to install a broken stable or unstable beta extension on newest PHP versions.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links