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 a .user.ini file under your public_html and mention the codeĀ 

memory_limit=256M;
upload_max_filesize=24M;
post_max_size=32M;

You can edit the value as per your need. If you are using WordPress you need to add the file inside the wp-admin folder too.

  • 0 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...

Increasing Max Upload Size in cPanel

Hello,How to increase Max upload size in cPanel using php.ini file?Login to 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...

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