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 a 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 an 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!
  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

How to fix CPU Overload/Abuse Issues ?

Hello,This article will help you with fixing CPU Overload/Abuse issues for your cPanel...

Enable Gzip To Speedup the Loading time

HelloMod_deflate is an apache module that can be used to compress data using gzip compression...

Custom PHP Limits using .user.ini

To add custom PHP limits like memory limit, Upload limit You can do it from .user.ini fileCreate...

Clearing cookies/Cache on your Browser

Hello Clients,This article will help you to Mass Refresh your browser to clear the cache.We faced...

How to protect your cPanel/WHM from hackers ?

- Don't Save your Password in Browsers- Use Secure browser Google chrome for better security as...