Most likely second if you run php in fpm mode.
You can also spawn php info file and it will tell you which one is being used
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
Check the loaded config files via phpinfo()
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
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
This. Call it in a php file on your web server through a browser and it will give you all the info you need :)
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
Just rename php.ini.production to php.ini and change the value there.
Try cli command: php --ini
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.