Thread:Project:Support desk/$wgMaxUploadSize has no effect

Hello,

I would like to upload some technical documentation to my wiki and some files are slightly bigger than the default maximum size of 2 MB. I first changed the settings in php.ini /etc/php5/apache2/php.ini

I applied these changes also to /etc/php5/cli/php.ini

then I appended to the end of

/etc/mediawiki/LocalSettings.php (same as /var/lib/mediawiki/LocalSettings.php)

Restarting Apache or rebooting the computer has no effect. When I upload my 2.327 KB-file, mediawiki shows a warning in the preview, but the output looks fine. When I want to save the page, mediawiki refuses saving.

I use an Ubuntu 12.04 system with apache 2.2.22, mediawiki 1.15.5 and php 5.3.10.

How can I enable uploads >2MB?

Thanks, Martin