SELinux

To install Mediawiki on a system running SElinux the following additional steps must be performed:


 * chcon -R -t httpd_user_content_t /path/to/mediawiki_install

After building the PHP fileinfo extension:
 * chcon -t httpd_sys_script_exec_t /usr/lib/php/modules/fileinfo.so

Any additional files which will be execed by apache must be httpd_user_script_exec_t (not including PHP files). Files which are httpd_*_script_exec_t may not be written to by the apache process. Ideally the mediawiki executable (PHP) files should all be set httpd_user_script_exec_t but this is not required by the current SELinux policy.