On Thu, Sep 24, 2020 at 8:53 PM Brian Wolff <[email protected]> wrote: > > > > On Thursday, September 24, 2020, Jeffrey Walton <[email protected]> wrote: >> >> On Thu, Sep 24, 2020 at 6:37 PM Tim Starling <[email protected]> wrote: >> > >> > On 25/9/20 5:34 am, Jeffrey Walton wrote: >> > > Our site is at https://www.cryptopp.com/wiki. >> > > >> > > Since the Mediawiki 1.34.3 upgrade, the wiki serves each page with the >> > > following at the top: >> > > >> > > <br /> >> > > <b>Warning</b>: php_uname() has been disabled for security reasons in >> > > <b>/var/www/html/w/includes/GlobalFunctions.php</b> on line >> > > <b>1333</b><br /> >> > > <!DOCTYPE html> >> > > <html class="client-nojs" lang="en" dir="ltr"> >> > > <head> >> > > ... >> > > >> > > Any ideas how to fix things? >> > >> > Set $wgOverrideHostname. >> >> Thanks. I guess that is new. We don't seem to have it in LocalSettings.php: >> >> [...] > > It normally wouldn't be in LocalSettings.php, you would have to add it > yourself. If its not present in LocalSettings.php then its default value is > used.
Thanks. Out of curiosity, why is "unknown" used instead of "localhost"? localhost is a standard hostname. Are there negative side effects from using localhost? Jeff _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
