I am running Mediawiki 1.9.3 under PHP 5.2.1 and trying to import a relatively large (>2MB) file using Special:Import. It is failing each time due to some limit somewhere.
I suspect the error I am seeing is more of a PHP/Apache issue than Mediawiki.
The issue is that once the file uploads to the server I immediately get an error message, below:
Upload of import file failed; perhaps the file is bigger than the allowed upload size.
I have checked phpinfo which shows upload_max_filesize as being 8MB. post_max_size is also 8MB.
I don't know where these are set as I don't see them in the httpd.conf file in usr/local/apache/conf
I have also checked and the Mediawiki file (includes/SpecialImport.php) is set to 20000000 (20MB).
Why is it that anything above @1.8MB is failing?