PHP has a configurable upload size limit. Where that setting is found depends on how you installed PHP and how it’s integrated into the web server. Also, potential reverse proxies that sit between the client and the actual web server can limit file upload sizes. If all that is the same for the two wiki instances you mentioned, where one works and the other doesn’t, then it’s likely something else.