From: Domas Mituzas Date: Tue, 15 Mar 2005 21:03:36 +0000 (+0000) Subject: enable turck/eaccellerator for apache2handler as well X-Git-Tag: 1.5.0alpha1~601 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=7bb2da7c05548b7fd57d80c0d3f66de08257a4df;p=lhc%2Fweb%2Fwiklou.git enable turck/eaccellerator for apache2handler as well --- diff --git a/config/index.php b/config/index.php index fe366ead1f..9b93debc24 100644 --- a/config/index.php +++ b/config/index.php @@ -1084,8 +1084,8 @@ if ( \$wgCommandLineMode ) { ## Shared memory settings \$wgUseMemCached = $memcached; \$wgMemCachedServers = $mcservers; -{$turck}\$wgUseTurckShm = function_exists( 'mmcache_get' ) && php_sapi_name() == 'apache'; -{$turck}\$wgUseEAccelShm = function_exists( 'eaccelerator_get' ) && php_sapi_name() == 'apache'; +{$turck}\$wgUseTurckShm = function_exists( 'mmcache_get' ) && ( php_sapi_name() == 'apache' || php_sapi_name() == 'apache2handler' ); +{$turck}\$wgUseEAccelShm = function_exists( 'eaccelerator_get' ) && ( php_sapi_name() == 'apache' || php_sapi_name() == 'apache2handler' ); ## To enable image uploads, make sure the 'images' directory ## is writable, then uncomment this: