Performance-Cache (CACHE_ACCEL / File-Cache) & MsUpload (Mehrfach-Upload) fuer MediaWiki 1.46 aktiviert
Deploy Development / deploy (push) Successful in 46s
Deploy Development / deploy (push) Successful in 46s
This commit is contained in:
1 parent
43462960d5
commit
5fd1387d36
3 files changed
+18
-7
No files matched your search
@@ -83,10 +83,15 @@ $wgSecretKey = getenv( 'MW_SECRET_KEY' ) ?: ( $wgSecretKey ?? '' );
|
||||
$wgUpgradeKey = getenv( 'MW_UPGRADE_KEY' ) ?: ( $wgUpgradeKey ?? '' );
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// 5. Cache & Uploads / Mediendateien
|
||||
// 5. Performance-Cache & Uploads / Mediendateien
|
||||
// ----------------------------------------------------------------------------
|
||||
$wgMainCacheType = CACHE_NONE;
|
||||
// Nutzt APCu im RAM falls verfuegbar, sonst schnellen lokalen Datei-Cache
|
||||
$wgMainCacheType = function_exists( 'apcu_fetch' ) ? CACHE_ACCEL : CACHE_ANYTHING;
|
||||
$wgMemCachedServers = [];
|
||||
$wgCacheDirectory = "$IP/cache";
|
||||
$wgUseLocalMessageCache = true;
|
||||
$wgParserCacheType = CACHE_DB;
|
||||
$wgEnableSidebarCache = true;
|
||||
|
||||
$wgEnableUploads = true;
|
||||
$wgUseImageMagick = true;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
; PHP-Konfiguration fuer grosse Karate-Videos (MP4)
|
||||
; PHP-Konfiguration fuer grosse Karate-Videos (MP4) & Mehrfach-Uploads
|
||||
upload_max_filesize = 500M
|
||||
post_max_size = 500M
|
||||
post_max_size = 512M
|
||||
max_file_uploads = 50
|
||||
memory_limit = 512M
|
||||
max_execution_time = 600
|
||||
max_input_time = 600
|
||||
Reference in new issue
Block a user