Difference between revisions of "/var/www/html/LocalSettings.php (file)"

From wikieduonline
Jump to navigation Jump to search
Line 12: Line 12:
 
== Related ==
 
== Related ==
 
* [[Manual:RevisionDelete]]
 
* [[Manual:RevisionDelete]]
* <code>[[systemctl restart nginx]]</code>
+
* <code>[[systemctl restart nginx]] && [[systemctl status nginx]]</code>
 
* https://www.mediawiki.org/wiki/Snippets/Load_an_additional_JavaScript_or_stylesheet_file_on_all_pages
 
* https://www.mediawiki.org/wiki/Snippets/Load_an_additional_JavaScript_or_stylesheet_file_on_all_pages
 
* <code>[[$wgAllowExternalImages]]</code>
 
* <code>[[$wgAllowExternalImages]]</code>

Revision as of 12:06, 17 September 2022

/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/your_db_name/debug-{$wgDBname}.log";

Related

See also

Advertising: