• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Home
  • Blog
  • Services
    • WordPress Services
    • WordPress Website Design Process
    • Marketing
    • WPplaces Managed WordPress Hosting
    • Video Production
    • IT & Repair Services
  • Tutorials
  • Showcase
  • Testimonials
  • Contact
  • Shop
  • About
  • Video and Audio Production

Connections.Digital

Media Production, Mobile Web and iOS Development

  • Facebook
  • Twitter
  • YouTube
  • GitHub

Linux

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: Linux Tagged With: #Wordpress, Amarillo, NGINX, PHP, Texas

Primary Sidebar

Sign up for Connections.Digital

* = required field

powered by MailChimp!

Recent Posts

  • Chuck Yeager Breaks the Sound Barrier
  • Sir Ernest Rutherford
  • Jim Laughlin Quartet – Music at Wellington Square Courtyard – August 14
  • Tennessee Tuckness & Friends – Music at Wellington Square Courtyard – July 31, 2021
  • Geezers Gone Wild – Music at Wellington Square Courtyard – July 24, 2021
  • Remote Support
  • My Account
  • Cart

Categories

  • Apple
  • Augmented Reality
  • Best Practices
  • eCommerce
  • Email List Management
  • Facebook
  • Gig Log
  • Google
  • Latest News
  • Linux
  • Machine Learning
  • Made In Amarillo
  • Microsoft
  • One More Thing
  • Pay-Per-Click (PPC)
  • Search Engine Optimization (SEO)
  • Tech Industry Events
  • Tools of the Trade
  • Twitter
  • Video Production
  • Website Design & Development
  • WordPress Essentials
  • Workflow

Footer

Customer Service

  • About Connections.Digital
  • Payments
  • Advertisements
  • Privacy Policy
  • Terms and Conditions
  • Website Design Terms of Service

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...