PHP 5 safe mode

PHP's safe_mode is 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.

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.