Skip to content

Instantly share code, notes, and snippets.

@RhythmShahriar
Created February 11, 2019 05:17
Show Gist options
  • Save RhythmShahriar/6da4b7eda0edb68614299a2c774e9326 to your computer and use it in GitHub Desktop.
Save RhythmShahriar/6da4b7eda0edb68614299a2c774e9326 to your computer and use it in GitHub Desktop.
Increase WordPress file Upload Limit inside a docker image
php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 300
# ENTER INTO DOCKER IMAGE
docker exec -it [CONTAINER ID] bash
# CHNAGE FILE PERMISSION
chown -Rf www-data.www-data [DIR]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment