Synology NAS wordpress with docker modify upload_max_filesize

  1. Prepare uploads.ini file depends on your usage, upload it to somewhere on your NAS. For example: /wordpress-docker/data/uploads.ini
file_uploads = On
memory_limit = 500M
upload_max_filesize = 500M
post_max_size = 500M
max_execution_time = 600
  1. Goto Container manager > Container > xxx-wordpress
  2. Stop the container then editing settings
  3. Add a docker volume link from /wordpress-docker/data/uploads.ini to /usr/local/etc/php/conf.d/uploads.ini
  4. Start your container, and it works
  5. Be aware that this configuration will be auto removed when dockert image upgrade, so you need to re-configured again then.
Subscribe
Notify of

0 Comments
Inline Feedbacks
View all comments