Need help to change php settings for wordpress app?

I want to use the wordpress app, but in order to do that I need to be able to change the max size regarding files to upload in wordpress. Typically that is done by changing the php settings post_max_size and upload_max_filesize. I have not found any way to do that so I really need help with this. If its not possible to change this I need to install a vm with os, webbserver and wordpress which seems quite an overkill when everything already is on the truenas scale.

(i need to import a backup of my current wordpress installation of 30GB from my old installation in order to install it on truenas)

I have also tried the different wordpress tools that makes it possible to change the upload size but it does not work.

Did you end up finding a solution?
Got the same issue

bump, need a solution.

I never found a solution, installed a vm with ubuntu and installed wordpress and apache instead. Its an overkill solution for this though. Would very much like to run it through the app though so I would also like to see a solution to this

Hmm, that is overkill. I can’t say this is any better than deploying WordPress to existing shared directories for content. i can now access it through SMB, to upload my larger files, but still…

But how do you overcome the restriction in wordpress to upload larger files?