BLACK FRIDAYGet 35% OFF VPS For LifeGet the deal →

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

cpanel
how to
tutorials
Press Releases
100

Free VPS Trial

No Credit Card Required.

Start Your VPS Hosting Free Trial

Recent Posts

NetShop ISP and Your Bourse Launch Dedicated Cross-Connect at Equinix LD4 for Low-Latency Trading

NetShop ISP and Your Bourse Launch Dedicated Cross-Connect at Equinix LD4 for Low-Latency Trading

24 November 2026

How To Automate SSL Certificate Renewal Before the 47-day Deadline

How to Automate SSL Certificate Renewal Before the 47-Day Deadline

16 November 2026

Understanding PHP2Shell, the Critical PHP RCE Exploit - How To Patch Instructions

Understanding PHP2Shell, the Critical PHP RCE Exploit – How To Patch Instructions

23 October 2026

Critical PHP Vulnerabilities (CVE-2026-109618 & CVE-2026-109619): Update Your Servers Now

Critical PHP Vulnerabilities (CVE-2026-109618 & CVE-2026-109619): Update Your Servers Now

21 October 2026

NetShop ISP Exhibits at SiGMA World 2026

NetShop ISP Exhibits at SiGMA World 2026 in Rome and Hosts Forex Discussion Panel

21 October 2026