Hi Everyone,
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?
Thanks in advance.
====================
There seems to be a fair amount of php_uname:
/var/www/html/wiki # grep -IR php_uname ./* ./extensions/Scribunto/includes/engines/LuaStandalone/LuaStandaloneEngine.php: if ( php_uname( 's' ) === 'Linux' ) { ./extensions/Scribunto/includes/engines/LuaStandalone/LuaStandaloneEngine.php: if ( php_uname( 's' ) == 'Linux' ) { ./extensions/Scribunto/includes/engines/LuaStandalone/LuaStandaloneEngine.php: if ( php_uname( 's' ) == 'Windows NT' ) { ./extensions/CodeEditor/modules/ace/mode-php.js: 'php_ini_loaded_file|php_ini_scanned_files|php_logo_guid|php_sapi_name|php_strip_whitespace|php_uname|phpcredits|phpinfo|phpversion|pi|' + ./extensions/CodeEditor/modules/ace/mode-php.js: "php_uname": [ ./extensions/CodeEditor/modules/ace/mode-php.js: "string php_uname(void)", ./includes/debug/logger/monolog/MwlogHandler.php: $this->hostname = php_uname( 'n' ); ./includes/debug/logger/monolog/SyslogHandler.php: $this->hostname = php_uname( 'n' ); ./includes/debug/logger/MonologSpi.php: * 'args' => [ 'mediawiki', php_uname( 'n' ), null, '', 1 ], ./includes/GlobalFunctions.php: return php_uname( 'n' ) ?: 'unknown'; ./includes/installer/Installer.php: $os = php_uname( 's' ); ./includes/Pingback.php: 'OS' => PHP_OS . ' ' . php_uname( 'r' ), ./includes/Pingback.php: 'machine' => php_uname( 'm' ), ./maintenance/benchmarks/bench_wfIsWindows.php: return substr( php_uname(), 0, 7 ) == 'Windows'; ./maintenance/benchmarks/Benchmarker.php: php_uname( 'm' ), ./maintenance/benchmarks/Benchmarker.php: php_uname( 's' ), ./maintenance/benchmarks/Benchmarker.php: php_uname( 'r' ), ./maintenance/benchmarks/Benchmarker.php: php_uname( 'v' ) ./RELEASE-NOTES-1.34:* (T172060) GlobalFunctions: Use php_uname instead of posix_uname. ./vendor/pear/pear-core-minimal/src/OS/Guess.php:// php_uname() without args returns the same as 'uname -a', or a PHP-custom ./vendor/pear/pear-core-minimal/src/OS/Guess.php: * This class uses php_uname() to grok information about the current OS ./vendor/pear/pear-core-minimal/src/OS/Guess.php: $uname = php_uname(); ./vendor/symfony/console/Output/ConsoleOutput.php: \function_exists('php_uname') ? php_uname('s') : '', ./vendor/phan/phan/src/Phan/Plugin/Internal/UseReturnValuePlugin.php: 'php_uname' => true, ./vendor/phan/phan/src/Phan/Language/Internal/FunctionDocumentationMap.php:'php_uname' => 'Returns information about the operating system PHP is running on', ./vendor/phan/phan/src/Phan/Language/Internal/FunctionSignatureMap.php:'php_uname' => ['string', 'mode='=>'string'], ./vendor/phan/phan/src/Phan/Language/Internal/FunctionSignatureMapReal_php73.php:'php_uname' => '?string', ./vendor/phan/phan/src/Phan/Language/Internal/FunctionSignatureMapReal.php:'php_uname' => 'string',