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 !
  • Email, SSL
  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

How to manage Mysql database with php My Admin?

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

Migration of cPanel/WHM From other Servers

Hello, How to Migrate an cPanel from one server to another server without Root access over FTP?...

How to Change the password on an FTP account in cPanel?

Login into cPanel using provided URL and its credentials Go to Files section. Click on FTP...

WHMBill Installation Guide

1. Upload the files to server 2. Open the folder from browser 3. Installation will ask for...

Custom PHP Limits using .user.ini

To add custom php limits like memory limit,Upload limit You can do it from .user.ini file Create...