Skip to content

Instantly share code, notes, and snippets.

@thephucit
Last active June 24, 2020 05:05
Show Gist options
  • Save thephucit/2c15fa78ff80b1021c2dd78b8358b86c to your computer and use it in GitHub Desktop.
Save thephucit/2c15fa78ff80b1021c2dd78b8358b86c to your computer and use it in GitHub Desktop.
increase upload octobercms backend

sudo nano /etc/php/7.2/fpm/php.ini

sudo nano /etc/php/7.2/cli/php.ini

sudo service php-fpm restart

sudo service php7.2-fpm restart

sudo service nginx restart

edit

upload_max_filesize = 999M

post_max_size = 999M

modules/backend/assets/js/october-min.js

modules/backend/assets/vendor/dropzone/dropzone.js

modules/backend/formwidgets/fileupload/assets/js/fileupload.js

maxFilesize

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment