Thread:Project:Support desk/File upload limit will not go above 2M.

Installed software

Product	Version

MediaWiki	1.23.1

PHP	5.5.9-1ubuntu4.3 (apache2handler)

MySQL	5.5.38-0ubuntu0.14.04.1

Note that this is on Ubuntu 14.04 LTS Server and some things changed regarding Apache between this and the old version of Apache on Ubuntu 12.04/13.04 (i.e. apache2.conf is used in place of httpd.conf among other things), so some guides are outdated accordingly.

Now, my issue, as mentioned in the subject, is one I've been trouble shooting for a bit now. I've already added $wgMaxUploadSize to LocalSettings.php and tried both 1024*1024*100 and 100M. This was after I edited php.ini in /etc/php5/cli changing both post_max_size and upload_max_filesize to 100M or 1024*1024*100 (I tried both).

Then I restarted Apache.

Those are the only two things any guide mentioning how to change max file upload size for MediaWiki says to change, so I assume they are out-dated like the guide for configuring apache for MediaWiki was regarding httpd.conf and apache2.conf. I assume there's a file or setting somewhere that also defines max upload file size either for MediaWiki or PHP that isn't mentioned and I haven't touched yet.

Also note that when I typo'd the setting once in LocalSettings.php, it caused the max file size upload to be 2B. That's 2 Bytes btw. So I can change it, it just won't go over 2M.

Any help is appreciated in understanding why this will not change as 2M is not enough to do anything useful imo.