Last modified: 2013-07-30 00:10:55 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 T36239, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34239 - Installer should auto-select APC/XCache/etc if available
Installer should auto-select APC/XCache/etc if available
Status: REOPENED
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.20.x
All All
: Low enhancement (vote)
: Future release
Assigned To: John Du Hart
https://www.mediawiki.org/wiki/Manual...
:
Depends on:
Blocks: 34236
  Show dependency treegraph
 
Reported: 2012-02-07 09:08 UTC by T. Gries
Modified: 2013-07-30 00:10 UTC (History)
3 users (show)

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


Attachments

Description T. Gries 2012-02-07 09:08:15 UTC
I recently installed APC (pecl apc install) and did many new MediaWiki installations. At the end of of MW installation you see three checkboxes with options to enable the use of cache methods like APC (see https://www.mediawiki.org/wiki/Manual:Cache#PHP_caching )

In my opinion, like with the Suhosin patch and other non-standard things, the MW isntallation should try to detect whether APC and similar things are active duing the installation.

The installer should then _propose_ (active the corresponding checkbox) the most recommended method, which is available on that server.
Comment 1 Bawolff (Brian Wolff) 2012-02-07 09:17:26 UTC
(In reply to comment #0)
> I recently installed APC (pecl apc install) and did many new MediaWiki
> installations. At the end of of MW installation you see three checkboxes with
> options to enable the use of cache methods like APC (see
> https://www.mediawiki.org/wiki/Manual:Cache#PHP_caching )
> 
> In my opinion, like with the Suhosin patch and other non-standard things, the
> MW isntallation should try to detect whether APC and similar things are active
> duing the installation.
> 
> The installer should then _propose_ (active the corresponding checkbox) the
> most recommended method, which is available on that server.

Isn't this what the installer already does (See's whats available, and suggests using it to the user)?
Comment 2 Chad H. 2012-02-07 11:44:23 UTC
Yes, we already detect these and give you the option -> WFM.
Comment 3 T. Gries 2012-02-07 15:05:32 UTC
(In reply to comment #2)
> Yes, we already detect these and give you the option -> WFM.

Yes, I saw three options, but APC (the second) was not pre-selected.

I suggest in the case, where APC is available to show and to PREselect this box.

This is what I suggest, so that an installing person has minimal efforts to the select the optimum environment for MediaWiki.

Sorry, if I was not clear in my original report.
Comment 4 Chad H. 2012-02-07 15:17:45 UTC
Not worth the effort to auto-select it. WFM.
Comment 5 John Du Hart 2012-02-07 15:23:54 UTC
The the cache question is after the "Ask me more questions" phase so in some cases the user never sees it, so it makse sense that a default should be selected. If you want I can do this for 1.20
Comment 6 Chad H. 2012-02-07 15:25:22 UTC
(In reply to comment #5)
> The the cache question is after the "Ask me more questions" phase so in some
> cases the user never sees it, so it makse sense that a default should be
> selected. If you want I can do this for 1.20

Well, we can't help if people are being impatient ;-)
Comment 7 Chad H. 2012-02-07 15:35:08 UTC
Tweaking summary so it'll stop wrapping in subject lines ;-)

Also: we already detect and offer them, this is now about auto-selecting a checkbox.
Comment 8 T. Gries 2012-02-07 18:28:04 UTC
(In reply to comment #5)
> The the cache question is after the "Ask me more questions" phase so in some
> cases the user never sees it, so it makse sense that a default should be
> selected. If you want I can do this for 1.20

Exactly. Shame on me, as I did not describe clearly enough what I wanted, but at the end you all understood me fully.

By the way, APC is really increasing the speed, but every MediaWiki admin should increase the (APC) installation default value from 32MB to 50..64MB (my suggested value). This gives > 99% cache hits in a large scale (8000 users) implementation.

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


Navigation
Links