NEW LOCATION

Olá Brazil Brazil NVMe-powered VPS Plans in Brazil Now Available.

Deploy Instantly
  • +357 2425 0808
  • Login
  • English

Home

Blog

How To increase maximum upload size for ...

How To increase maximum upload size for cPanel 3rd-party applications such as Roundcube, PHPMyAdmin

How To increase maximum upload size for cPanel 3rd-party applications such as Roundcube, PHPMyAdmin

NetShop ISP

NetShop ISP · Blog Author

Jun 07, 2022 · Technical Tutorials

A common issue cPanel users encounter is when they try to upload large files in cPanel’s third-party applications. An error about the maximum upload file size will occur when, for example, you attempt uploading a large .sql file in phpMyAdmin or a large mbox file in Webmail (Roundcube, Horde).

Find the solution below in this tutorial.

Error Messages

There are several error messages returned when settings in php.ini are not sufficient for the file upload. Such error messages are “No File Found” or “No Input File”.

Common Mistake

A common mistake webmasters or cPanel administrators do, is that they try to increase the PHP values from the php.ini inside their cPanel account. That php.ini is responsible for file uploads on the front-end website/application whereas what’s needed is to update the php.ini of the respective 3rd-party application (e.g. Roundcube webmail).

Solution

To overcome this issue you need to increase the following PHP values to allow the file upload in the respective cPanel application’s php.ini file.

Example: Increase max upload file size for Roundcube

  1. Connect on your cPanel server via SSH
  2. cd /usr/local/cpanel/3rdparty/php/73/etc/roundcube (to enter the directory)
  3. nano php.ini (to edit the file)
  4. Change the following values into the desired ones to allow your file to be uploaded:
    upload_max_filesize
    post_max_size
    memory_limit
  5. service apache2 restart or service httpd restart (to restart apache web server and your changes to be applied)

Note: If cPanel’s PHP-FPM service is in use, be sure to restart after applying the changes as follows:

root@localhost:~$ /scripts/restartsrv_cpanel_php_fpm

and then this command:

root@localhost:~$ /scripts/restartsrv_cpsrvd

Press Releases
79

Free VPS Trial

No Credit Card Required.

Recent Posts

Black Friday & Cyber Monday Offer – 30% Lifetime Discount on VPS Plans

Black Friday & Cyber Monday Offer – 30% Lifetime Discount on VPS Plans

02 December, 2024

How To Install Sendy on Ubuntu 22.04 Server

How To Install Sendy on Ubuntu 22.04 Server

27 November, 2024

How To Extract Certificates and Private Key from .PFX file

How To Extract Certificates and Private Key from .PFX file

19 November, 2024

NetShop ISP CEO Stefano Sordini to Moderate Key Panel on Forex AI Automation at Cyprus Fintech Summit 2024

NetShop ISP CEO Stefano Sordini to Moderate Key Panel on Forex AI Automation at Cyprus Fintech Summit 2024

15 November, 2024

Preparing for the Daylight Saving Time (DST) Change: Essential Updates for MetaTrader 4/5 Platforms

Preparing for the Daylight Saving Time (DST) Change: Essential Updates for MetaTrader 4/5 Platforms

25 October, 2024

#letushostyou

Award Winning Hosting Provider established in 2004.

120 Faneromenis Avenue, Imperial Tower, 2nd Floor, Larnaca 6031, Cyprus

Products

Bare Metal Servers

Customized Servers

Virtual / Cloud Servers

Forex VPS

Storage VPS

cPanel Web Hosting

Reseller Web Hosting

Colocation

Addons

Premium DNS

Email Hosting

Cloud Backup

DDoS Protection

Licenses

SSL Certificates

Domain Names

Premium SLAs

About Us

Data Center Locations

Looking Glass

Our Company

Contact Us

Careers in Cyprus

Become a Partner

Awards

Certifications

© 2024 S.S. NetShop Internet Services Ltd. All rights reserved.  Terms & Conditions  |  Privacy Policy
CY Reg. Number: HE 217340 | EU VAT Number: CY10217340J

Visa
Mastercard
PayPal
Bitcoin
Tether
Ethereum
Litecoin
Wise
Revolut
Wire Transfer