/var/www/html/LocalSettings.php (file)
(Redirected from LocalSettings.php (file))
Jump to navigation
Jump to search
/var/www/html/LocalSettings.php
$wgDBtype = "mysql"; $wgDBserver = "127.0.0.1"; $wgDBname = "yourdbname"; $wgDBuser = "yourdbuser"; $wgDBpassword = "yourpassword"; $wgDBprefix = ""; $wgDBTableOptions = "ENGINE=InnoDB, DEFAULT CHARSET=binary";
$wgDebugLogFile = "/var/log/mediawiki-debug.log";
#$wgDebugLogFile = "/var/log/your_db_name/debug-{$wgDBname}.log";
#GROK 05/2025 $wgDebugLogFile = "/var/log/mediawiki-debug.log"; $wgShowExceptionDetails = true; // Show detailed errors $wgDebugComments = true; // Add debug info to HTML comments $wgLogQueries = true; // Log database queries $wgDebugToolbar = true; // Enable debug toolbar for detailed info wfDebug("Test debug message");
cat LocalSettings.php | grep wfLoadExtension
wfLoadSkin
Related[edit]
- Manual:RevisionDelete
systemctl restart nginx && systemctl status nginx- https://www.mediawiki.org/wiki/Snippets/Load_an_additional_JavaScript_or_stylesheet_file_on_all_pages
$wgAllowExternalImageswfLoadExtension$wgDefaultSkin$wgPingback$wgUseInstantCommonsVector skin- Manual:Preventing access
- PHP logs
See also[edit]
/var/www/html/LocalSettings.php (file)- Mediawiki: Wikipedia, Install Mediawiki, Install Mediawiki using docker, Mediawiki Release Notes, Manual:Images,
php-fpm, Scribunto, Restart mediawiki, NOTOC,/var/www/html/LocalSettings.php (file), wikiless, Nowiki, Wikiapiary, modules, templates, extensions, MediaWiki API, Pro.wiki, /maintenance, Performance
Advertising: