• DevOps
    Case Study

    How we built a resilient multi-account, multi-cloud solution for a Health Tech service provider!

    READ CASESTUDY
    icon

    24/7 DevOps as a Service

    Round-the-clock DevOps for uninterrupted efficiency.

    icon

    Infrastructure as a Code

    Crafting infrastructure with ingenious code.

    icon

    CI/CD Pipeline

    Automated CI/CD pipeline for seamless deployments.

    icon

    DevSecOps

    Integrated security in continuous DevOps practices.

    icon

    Hire DevOps Engineers

    Level up your team with DevOps visionaries.

    icon

    Consulting Services

    Navigate success with expert DevOps consulting.

  • TechOps
    Case Study

    How we built a scalable Odoo solution for a Travel Tech service provider!

    READ CASESTUDY

    WEB HOSTING SUPPORT

    icon

    HelpDesk Support

    Highly skilled 24/7 HelpDesk Support

    icon

    Product Support

    Boost your product support with our expertise.

    MANAGED SERVICES

    icon

    Server Management

    Don’t let server issues slow you down. Let us manage them for you.

    icon

    Server Monitoring

    Safeguard your server health with our comprehensive monitoring solutions.

    STAFF AUGMENTATION

    icon

    Hire an Admin

    Transform your business operations with our expert administrative support.

    icon

    Hire a Team

    Augment your workforce with highly skilled professionals from our diverse talent pool.

  • CloudOps
    Case Study

    How we helped a Private Deemed University in India, save US $3500/m on hosting charges!

    READ CASESTUDY
    icon

    AWS Well Architected Review

    Round-the-clock for uninterrupted efficiency

    icon

    Optimize

    Efficient CloudOps mastery for seamless cloud management

    icon

    Manage

    Automated CI/CD pipeline for seamless deployments

    icon

    Migrate

    Upgrade the journey, Migrate & Modernize seamlessly

    icon

    Modernize

    Simplify compliance complexities with our dedicated services

    icon

    FinOps as a Service

    FinOps as a Service

  • SecOps
    Case Study

    How we built a scalable Odoo solution for TravelTech service provider!

    READ CASESTUDY
    icon

    VAPT

    Vulnerability Assessment and Penetration Testing

    icon

    Source Code Review

    Ensuring source code security ans safe practices to reduce risks

    icon

    Security Consultation

    On demand services for improving server security

    icon

    System Hardening

    Reduced vulnerability and proactive protection

    icon

    Managed SoC

    Monitors and maintains system security. Quick response on incidents.

    icon

    Compliance as a Service

    Regulatory compliance, reduced risk

  • Insights
    Case Study

    How we helped a Private Deemed University in India, save US $3,500/m on hosting charges!

    READ CASESTUDY
    icon

    Blog

    Explore our latest articles and insights

    icon

    Case Studies

    Read about our client success stories

    icon

    Flipbook

    Explore our latest Flipbook

    icon

    Events

    Join us at upcoming events and conferences

    icon

    Webinars

    Watch our educational webinar series

  • Our Story
  • Contact Us

Interested to collaborate?

Get in touch with us!

Ready to elevate your business with certified cloud expertise? Contact us today to learn how our team can help you leverage cloud technology to drive growth, streamline operations, and enhance security.

  • AWSAWS
  • Azure CloudAzure Cloud
  • Google CloudGoogle Cloud
  • Akamai CloudAkamai Cloud
  • OVHOVH
  • Digital OceanDigital Ocean
  • HetznerHetzner
  • Kubernetes Consultancy Services
  • K8s & Cloud native Solutions
  • 24/7 Infrastructure Monitoring
  • DevOps as a Service
  • Cloud CI/CD Solutions
  • White Labeled MSP Support
  • Our story
  • Life@SupportSages
  • Insights
  • Careers
  • Events
  • Contact Us

Connect with us!


LinkedInFacebookXInstagramYouTube

aws partneraws advanced partner
SupportSages

Copyright © 2008 – 2026 SupportSages Pvt Ltd. All Rights Reserved.
Privacy PolicyLegal TermsData ProtectionCookie Policy
File manager Upload error in CWP

File manager Upload error in CWP

Scarlett Upton

  • 3 min read
File manager Upload error in CWP

Generating audio, please wait...

While uploading a file of larger size in CWP using the file manager, you may encounter a file upload error as following in the log file /usr/local/cwpsrv/logs/error_log.

[otw_shortcode_info_box border_type=”bordered” border_color_class=”otw-blue-border” border_style=”bordered”]2021/05/24 04:20:58 [error] 2578322#0: *114 client intended to send too large body: 720059757 bytes, client: 117.203.36.77, server: localhost, request: “POST /cwp_7c0f4a5796597df4/testfil/testfil/index.php?module=filemanager&acc=uploadFiles HTTP/1.1”, host: “host.example.com:2083”, referrer: “https://host.example.com:2083/cwp_7c0f4a5796597df4/testfil/fileManager_v2.php”[/otw_shortcode_info_box]

The file shows as upload complete as in the below screenshot, but the file is not uploaded in the location.

upload complete

In the latest CWP versions like 0.9.8.1064, you get an error as following in the screenshot (you can see the file upload maximum limit already displayed).

Error Message

The CWP (Centos Web Panel) uses a different php.ini file to load the PHP configurations for the control panel interfaces. The /usr/local/cwp/php71/php.ini is the default PHP server configuration file of cwpsrv service for CWP admin panel, CWP user panel, phpMyAdmin, and Roundcube.

(The php. ini file is the default configuration file for running applications that require PHP).

To solve this, you need to edit the CWP PHP configuration:

Step 1: On the command line, first backup the php.ini file.

[otw_shortcode_info_box border_type=”bordered” border_color_class=”otw-blue-border” border_style=”bordered”]cp /usr/local/cwp/php71/php.ini /usr/local/cwp/php71/php.ini.bak[/otw_shortcode_info_box]

Step 2: Edit the configuration file.

[otw_shortcode_info_box border_type=”bordered” border_color_class=”otw-blue-border” border_style=”bordered”]vi /usr/local/cwp/php71/php.ini[/otw_shortcode_info_box]

Step 3:  To upload a bigger file via File manager, you need to adjust the following PHP configuration directives.

Locate the following and change to your size and in this case, I am using 100MB for upload_max_filesize.

upload_max_filesize: By default this value is 64MM. You need to increase it to the maximum size of a single file that we want to upload.

post_max_size: It defines the maximum size of POST data that PHP will accept. This value should be greater than ‘upload_max_filesize’.

memory_limit: This sets the amount of memory a PHP script is allowed to use during its execution. Set this to a value greater than ‘post_max_size’ so that the PHP script can load and process the uploaded file.

max_input_time: This sets the maximum time in seconds a script is allowed to parse input data, like POST and GET. Timing begins at the moment PHP is invoked at the server and ends when execution begins. This would include populating $_FILES superglobal.

max_execution_time: The time a script is allowed to run after its input has been parsed. This would include any processing of the file itself.

[otw_shortcode_info_box border_type=”bordered” border_color_class=”otw-blue-border” border_style=”bordered”]upload_max_filesize = 100M post_max_size = 150M memory_limit = 150M max_input_time = 90 max_execution_time = 90[/otw_shortcode_info_box]

Step 4: Save the file and restart CWP
[otw_shortcode_info_box border_type=”bordered” border_color_class=”otw-blue-border” border_style=”bordered”]sh /scripts/restart_cwpsrv[/otw_shortcode_info_box]

 

cPanel Server Management

  • cPanel
  • Linux

Netdata monitoring in CWP Pro

Netdata monitoring in CWP Pro
  • Linux
  • Server Monitoring
logo

Posts by Scarlett Upton

“A Passionate Techie Who loves painting” Salma from the hilltop, Malappuram, who is an artist, was more passionate in IT than art. This passion made Salma to grab the Hottest International Certification in Open Source - RHCE, along with her eccentricity in painting. She is now working as System Engineer at SupportSages.