[Pkg-mediawiki-devel] Bug#679555: Bug#679555: mediawiki: Update to 1.19 needs php-apc

Platonides platonides at gmail.com
Sat Jun 30 13:40:44 UTC 2012


On 30/06/12 14:45, Uwe Steinmann wrote:
> On Sat, Jun 30, 2012 at 12:23:44AM +0200, Platonides wrote:
>> MediaWiki doesn't require APC. Did the configuration of the wiki
>> being updated have a parameter set to "use APC"? (usually with
>> CACHE_ACCEL)
> Now that you mentioned it, I checked the configuration and it 
> contains a line $wgMainCacheType = CACHE_ACCEL;
> 
> I didn't add it and mediawiki definitely run when it was still at
> 1.15. So either it didn't matter before or the update to 1.19 has
> added that line.
> 
> Uwe

The update doesn't modify your LocalSettings.php (much less to a
config that will break the update!).
Looking at the code, in 1.15 a setting of CACHE_ACCEL was silently
ignored if there was no accelerator cache available.
Since the r83140 rewrite (available on mediawiki 1.18), it throws an
exception on such case (it is, after all, a conflictive configuration).





More information about the Pkg-mediawiki-devel mailing list