Safe mode

From MediaWiki.org

Jump to: navigation, search

PHP's safe_mode an ill-concieved, broken-by-design setting in PHP that is supposed to make broken scripts safe. It was deprecated in PHP5 and removed in PHP6 (see the PHP documentation). MediaWiki can run with safe_mode enabled, but many of the advanced features will not work or need additional configuration. See for more information on safe mode.

To turn off safe mode, put this into your php.ini file:

 safe_mode = Off

TODO: how to allow image uploads (file permissions), thumbnailing (ImageMagick/svg), and math/text with safe-mode enabled.

NOTE: There is a parameter to index.php called safemode - that is completely unrelated.

Personal tools