Skip to content
  • Solutions
    By Role
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    By Infrastructure
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
  • Product
    • Plesk Features
    • Plesk Editions
    • What’s new
    • Pricing
    • Roadmap
    • Lifecycle Policy
    • Extensions Catalogue
  • Pricing
  • Extensions
    Featured Extensions
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    Bundles and packs:
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack

    See all Extensions

  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
Plesk 360 login
Free Trial

Knowledge Base

How to change upload file size limit for File Manager in Plesk?

 
domainsfile managerinterfacelinuxnginx

How to change upload file size limit in Domains > example.com > File Manager?

How to check the maximum size of a file that can be uploaded in Plesk > Domains > example.com > File Manager?

Answer

Increase the default upload file size limit:

Plesk for Linux

  1. Connect to the server via SSH

  2. Open /usr/local/psa/admin/conf/php.ini in a file editor and set required values in bytes. The default value is 2147483647 bytes (=2GB). For example, the following will set the values to 21474836480 (20GB):

    post_max_size = 21474836480
    upload_max_filesize = 21474836480

  3. Open /etc/sw-cp-server/config and set value client_max_body_size:

    client_max_body_size 20000m;

  4. Restart "psa" service:

    # service psa restart

  5. Log out from Plesk Interface and log into Plesk again to apply changes

  6. Create a directory for custom templates:

    # mkdir -p /usr/local/psa/admin/conf/templates/custom/server

  7. Copy nginx default template to this directory:

    # cp -a /usr/local/psa/admin/conf/templates/{default,custom}/server/nginxPleskAccess.php

  8. Modify client_max_body_size like the following:

    # grep client_max_body_size /usr/local/psa/admin/conf/templates/custom/server/nginxPleskAccess.php
    client_max_body_size 20000m;

  9. Reconfigure server template:

    # plesk sbin httpdmng --reconfigure-server

These parameters are applied globally to all domains when if comes to uploading files through a Plesk interface in Domains > example.com > File Manager

Plesk for Windows

  1. Connect to the server via RDP

  2. Open file C:Program Files (x86)Pleskadminconfphp.ini in a file editor and set required values in bytes. The default value is 2147483647 bytes (=2GB). For example, the following will set the values to 21474836480 (20GB):

    post_max_size = 21474836480
    upload_max_filesize = 21474836480

  3. Restart "Plesk Management Service"

  4. Log out from Plesk UI and log in again to apply changes

Tweet
Share
Share
Email
0 Shares
Read the full article
Related Posts

How to Check Open Ports in Linux (Simple Commands & Tools)

Read More »

Linux Logs Explained

Read More »

NGINX vs Apache – Which Is the Best Web Server in 2024?

Read More »
Knowledge Base

Domain on Plesk with WHMCS shows error: The PHP session save path /var/lib/php/session is not writable

Read More »

How to find and edit PHP configuration files in Plesk for a domain or for global PHP handler

Read More »

Unable to open domain file manager in Plesk: Full path is undefined

Read More »

What are the differences between Power User View and Service Provider View in Plesk and how to switch between them?

Read More »

Hosting Wiki

  • DBMS Interface
  • Server Redundancy
  • Linux Containers
  • Bare Metal Server
  • PhpMyAdmin
  • phpPgAdmin
  • Oracle VM Server
  • Server Virtualization Software
  • Windows Server
  • Linux
  • PHP
  • Domain
  • Plesk
  • NGINX
  • Web Server
  • DNS Server
  • SSH
X-twitter Linkedin Youtube Reddit Github
  • Product
  • Login
  • Pricing
  • Editions
  • For Partners
  • Partner Program
  • Contributor Program
  • Affiliate Program
  • Plesk University
  • Company
  • Blog
  • Careers
  • Events
  • About Plesk
  • Our Brand
  • Resources
  • User and Admin guides
  • Help Center
  • Migrate to Plesk
  • Contact Us
  • Hosting Wiki
  • Forum
  • Legal
  • Legal
  • Privacy Policy
  • Imprint

© 2025 WebPros International GmbH

Part of the WebPros®  Family