Thursday, September 14, 2017

Increase Max Filesize Upload in Wordpress



This address specifically to the Media Library upload limitation within Wordpress

NGINX Configuration

Modified /etc/nginx/nginx.conf within the http section

http {
      # set client body size to 200M #
      client_max_body_size 200M;

PHP Configuration


Modified php.ini with three items within /etc/php/7.0/cli/php.ini and /etc/php/7.0/fpm/php.ini

  • upload_max_filesize = 200MB
  • post_max_size = 200MB
  • memory_limit = 128MB

WP Plugin


Used Increase Upload Max Filesize