High Performance Starts Here — AMD Dedicated Servers

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

Free VPS Trial

No Credit Card Required.

Start Your VPS Hosting Free Trial

Recent Posts

Hermes AI Agent VPS - Deploy in 1 Click

Introducing Hermes Agent VPS: Your Own AI Agent, Live in One Click

22 July 2026

How To Protect Your Website from DDoS Attacks in 2026

How To Protect Your Website from DDoS Attacks in 2026

14 July 2026

Why Your Stream Keeps Buffering (And How to Fix It)

Why Your Stream Keeps Buffering (And How to Fix It)

08 July 2026

How to Secure Your WordPress Website in 2026

How to Secure Your WordPress Website in 2026

30 June 2026

How To Fix Outdated Theme on cPanel / WHM

Why Your cPanel or WHM Login Page Is Showing an Outdated Theme (And How to Fix It)

22 June 2026