Free Trial

Free VPS Trial, no credit card required

Start Free Trial
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 · 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:

/scripts/restartsrc_cpanel_php_fpm
/scripts/restartsrv_cpsrvd

Related Articles

Categories

Backup
6
Business Continuity
4
Cloud Hosting
9
Colocation
4
Company Updates
1
Cryptocurrencies
1
Data Centers
12
Dedicated Servers
4
Disaster Recovery
2
Forex
20
Gaming
1
iGaming
33
Industry News
31
Interviews
7
Joomla
9
Magento
5
Managed Services
1
Press Releases
49
Product News
6
Resellers
1
Security
22
Software & Apps
1
Streaming
1
Tech Startups
12
Tutorials
41
Uncategorized
391
Vps Hosting
10
Web Design & Development
3
Web Hosting
42
Webinars
1
Wordpress
14

Free VPS Trial

No Credit Card Required.

Recent Posts

How to Choose the Right Server for MT4 and MT5 Trading Platforms

How to Choose the Right Server for MT4 and MT5 Trading Platforms

08 August, 2022

How To Achieve Ultra-Low Latency for Online Casino and Sports Betting platforms

How To Achieve Ultra-Low Latency for Online Casino and Sports Betting platforms

03 August, 2022

How to integrate one of the most popular online casino games providers in Cyprus

How to integrate one of the most popular online casino games providers in Cyprus

20 July, 2022

Curacao Government to form a new Online Gambling licensing body

Curacao Government to form a new Online Gambling licensing body

18 July, 2022

How To Connect to your Linux Server via myNetShop Web Console

How To Connect to your Linux Server via myNetShop Web Console

13 July, 2022

Products

Bare Metal Dedicated Servers

Virtual Servers (VPS / VDS)

Rack Space & Colocation Hosting

Fast Web Hosting

Cloud Backup

Premium DNS Hosting

Resources

Blog

Videos

Events

APIConnect

WhitepapersNew

Company

About Us

CareersNew

Awards & Honours

Become a Partner

Contact Us

#letushostyou

Award Winning Hosting Provider with a Customer-centric approach to Business and an Open Source Mindset regarding Solutions and Products Development.

Est. 2004, Larnaca – Cyprus


About

Legal Address: 2A, Marathonos, Livadhia, 7060, Cyprus

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

Company Reg: HE 217340
EU VAT Number: CY10217340J
ISO 9001:2015: No. QS.21.038

International Phone: +357 2425 0808