• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

KennethJackson.Tech

Multimedia Production in Amarillo, Texas

  • Home
  • IT Services
    • Web
  • Music
    • Woodshed
  • Video
  • About
  • Contact
You are here: Home / Archives for Work / NGINX

Increase File Upload Size Limit in PHP-Nginx

October 22, 2020 by Kenneth Jackson Leave a Comment

Change php.ini

From Terminal

  • $ nano /etc/php/7.4/fpm/php.ini
  • Set…
upload_max_filesize = 120M
post_max_size = 120M

Change Nginx config

From Terminal

  • $ nano /etc/nginx/nginx.conf 
  • Set..
http {
	#...
        client_max_body_size 100m;
	#...
}

Restart NGINX

# systemctl restart nginx.service

# systemctl start php7.4-fpm.service

Changes in WordPress-Multisite

Network Admin >> Dashboard >> Settings >> Network Settings. Look for Upload Settings

Also change value for Max upload file size

wordpress-upload-settings.png

Resources

  • https://easyengine.io/tutorials/php/increase-file-upload-size-limit/

Filed Under: NGINX Tagged With: #Wordpress, Amarillo, NGINX, PHP, Texas

  • Facebook
  • GitHub
  • Twitter
  • YouTube

Kenneth Jackson

(806) 374-2323
Please leave a voice or text message.

Contact Kenneth

Recent Posts: KennethJackson.Tech

Ableton Live File Types

Effects Design – Jon Dattorro – Notes

Erica Synths – EDU DIY Hi-Hat – Notes

Erica Synths – EDU DIY Snare Drum – Notes

Erica Synths – EDU DIY Kick Drum – Notes

Categories

  • Design
  • Music
    • Ableton Live
    • Audio Effects
    • Gig Log
    • Synthesizers
      • DIY
      • Electronic Percussion
      • Eurorack
  • Stuff
    • Galleries
    • Latest News
    • One More Thing
  • Work
    • Client Work
    • Made In Amarillo
    • NGINX
    • Swift
    • Video
    • Web Development
      • Pay-Per-Click (PPC)
      • Search Engine Optimization (SEO)
      • WooCommerce
  • Facebook
  • Twitter
  • YouTube
  • GitHub
  • Discord
  • Contact Me
  • Payments
  • Privacy Policy

Copyright © Kenneth Jackson

Designed by Kenneth Jackson in Amarillo, Texas

Powered by WPplaces

 

Loading Comments...