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

Platonides platonides at gmail.com
Sat Jun 30 20:12:05 UTC 2012


On 30/06/12 21:14, Uwe Steinmann wrote:
>> 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).
> That explains it at least. The question remains if the previous 
> version 1.15 in Debian did have $wgMainCacheType set by default. If
> not, I must have set that some time, though I'm not aware of it. If
> it was set in 1.15 already, it should be handled by the update to
> 1.19.
> 
> Uwe

Maybe you had APC installed when you installed MediaWiki for the first
time? Then it may have suggested you that config.
After that you may have uninstalled APC and merrily continued without
noticing.
I don't think update.php should ignore that setting (and the wiki
would also die anyway). It would be preferable to have a nicer failure
message, though.







More information about the Pkg-mediawiki-devel mailing list