-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org]On Behalf Of David Liontooth Sent: Monday, June 20, 2005 8:13 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Activating Turck MMCache after installation
Carlton B wrote:
(as I understand) even if you disable the option, you still get the benefit of Turck caching compiled php scripts, which is a big benefit.
Really? As long as Turck caching is installed, mediawiki benefits even if this line is commented out?
$wgUseTurckShm = function_exists( 'mmcache_get' ) && php_sapi_name() > == 'apache';
Yes, if I've understood correctly Brion's response to my problem. In that message, which was sent to the list, he said:
Turck does an excellent job of caching compiled PHP code (this requires NO configuration in LocalSettings.php, as it's completely independent of our code), but it's less clear that trying to shove other data in it helps, and it's not well tested or used by us.
Thus, I disabled Turck by commenting the line that sets $wgUseTurckShm. It fixed my problems. Since my site is still small and I am not benchmarking, I wouldn't know if it helped or hurt performance at this point.