Increasing Max Upload Size in cPanel

Hello,
How to increase Max upload size in cPanel using php.ini file ?

Login to your cPanel > Filemanager Create an php.ini file inside public_html Directory
Paste the below code :

upload_max_filesize=40M; post_max_size=40M;

You can change the value from 40 to any value as per your Need.If you have issue with wordpress theme uploading just copy and paste the php.ini file inside the "wp-admin" directory which will fix the issue.

To increase memory limit just add the below code inside the php.ini

memory_limit=128M;

You can change the value from 128 to 256 as per your need.

If you have any issue feel free to open a ticket with your domain name which is affected we will help you to do it from our end !

  • 1 Корисниците го најдоа ова како корисно
Дали Ви помогна овој одговор?

Понудени резултати

Customise the php.ini file settings in Code Editor

1. Log in to cPanel, if you haven’t already done so 2. If you haven’t already done so, create a...

How to Create wild card mail address (or default mail address) for domain?

Login into cPanel using provided URL and its credentials Go to Mail section Click on default...

How to enable/disable allow_url_fopen and allow_url_include functions

allow_url_fopen: For security reason, in shared hosting account allow_url_fopen is disabled by...

cPanel - Backup Wizard

You can use cPanel Backup Wizard to Backup and Restore your cPanel website step by step. cPanel...

Modifying the htaccess file to use a custom php.ini file throughout your website

This guide provides instructions for modifying .htaccess to use a custom php.ini throughout your...