Page MenuHomePhabricator

Installer spewing warnings due to disable_functions
Closed, ResolvedPublic


Warning soup confusing people and making them think there's a problem. Reported in 1.13.3:

Warning: shell_exec() has been disabled for security reasons in /home/tayyebo/public_html/mediawiki-1.13.3/config/index.php on line 1874
Warning: exec() has been disabled for security reasons in /home/tayyebo/public_html/mediawiki-1.13.3/config/index.php on line 1965
Warning: array_map() [function.array-map]: Argument #2 should be an array in /home/tayyebo/public_html/mediawiki-1.13.3/config/index.php on line 1970
Warning: Invalid argument supplied for foreach() in /home/tayyebo/public_html/mediawiki-1.13.3/config/index.php on line 1973
Notice: Undefined variable: wikiLang in /home/tayyebo/public_html/mediawiki-1.13.3/config/index.php on line 1999

Needs a check for disable_functions in addition to safe_mode, and also the return value of exec(locale) needs to be checked more rigorously.

Version: 1.14.x
Severity: enhancement



Related Objects


Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:23 PM
bzimport set Reference to bz16902.
bzimport added a subscriber: Unknown Object (MLST).

Checking for exec() in r56662.

Didn't do anything to shell locale checks.

This is done with the new-installer being merged in r66008. dl() and exec() support are checked for in all places that use them.