Thread:Project:Support desk/$wgMaxUploadSize has no effect/reply (5)

When you posted this shell command some posts above I thought you knew about Apache and that stuff, that's why I didn't explain it in detail. ;-)

When you run a script on the shell like you do with

$php phpinfo.php|grep upload

then the CLI configuration of your machine is used.

But when you run a script with your webbrowser, the configuration, which you have provided for that mode will be used. Checking this configuration is rather easy: Upload a file to your webspace with this content:



and view it with your webbrowser. You will then see the PHP settings which apply, when your website (read: MediaWiki) is called with a webbrowser. There the upload sizes must be correct/big enough.

I don't know of a MediaWiki error log. MediaWiki can write a debug log, but I don't know, if failed uploads would be logged there. But where you could still have a look is the PHP error log, which you should find in the folder php/logs.