• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Home
  • Shop
  • Blog
  • Showing Off
    • Galleries
    • Showcase
    • Testimonials
  • Contact
  • About

Connections.Digital

Media Production, Mobile Web and iOS Development

  • Facebook
  • Twitter
  • YouTube
  • GitHub
  • Live Audio and Video Production
    • Video Production
    • Cartage Services
    • Mobile Studio Gear List
    • Stage/Mixer Routing
  • Web Design
    • Mobile WordPress Web Design
    • WordPress Website Design Process
    • WordPress Tutorials
    • Internet Marketing
    • Website Design Terms of Service
  • IT Services

NGINX

Increase File Upload Size Limit in PHP-Nginx

October 22, 2020

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

Primary Sidebar

Sign up for Connections.Digital

* = required field

powered by MailChimp!

Customer Service

  • My Account
  • Checkout
  • Payments
  • Website Design Terms of Service
  • Terms of Service
  • Privacy Policy
  • Advertisements

Recent Posts

  • Cowtown Opry Buckaroos – Canyon, Texas – October 8, 2022 – Full Show
  • Danny Freeze & Dr. T – Songwriters in the Canyon – July 13, 2022 – Full Show (Sorta)
  • Michael D Coon – Pampa, Texas – September 30, 2022
  • Songwriters in the Round – Chalice Abbey – July 16, 2022
  • Keitha Jones – Grandma – Songwriters in the Canyon – June 15, 2022

Categories

Connections.Digital

Amarillo, Texas 79119
(806) 374-2323

Copyright © Connections Information Systems

Designed by Kenneth Jackson at Connections.Digital in Amarillo, Texas

Powered by WPplaces

 

Loading Comments...