Holy shit, I think I just figured this out and wrote a blog post about it.
Are you using WordPress, mariadb, and phpnyadmin in docker (or on bare metal)? Are you also using nginx?
Nginx by default only allows 1MB uploads. But it’s super easy to change.
Most likely second if you run php in fpm mode.
If that’s a screenshot from your docker host, none. Your wordpress docker image uses it’s own config file, which may or may not be easily reconfigurable. Check the documentation.
i am hosting this on my raspberry pi, where can i find the docker config file
You can also spawn php info file and it will tell you which one is being used
Just rename php.ini.production to php.ini and change the value there.
I wouldn’t use WordPress. It’s a massive security risk for any infrastructure it’s running on. In the past, every client I had who used WordPress got hacked. Even the ones that used no plugins or themes
Check the loaded config files via phpinfo()
so it told me its using the cli file, can you please telll what fields should i edit, i believe i am going wrong there only
Yup. And make sure you check via the web server request and not from cli as they’re not guaranteed to be loaded the same way
This. Call it in a php file on your web server through a browser and it will give you all the info you need :)
Try cli command: php --ini