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

Clearing cookies/Cache on your Browser

Clearing cookies/Cache on your BrowserHello Clients,This article will help you to Mass Refresh...

Enable Gzip To Speedup the Loading time

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

Force Password Reset cPanel/WHM

Force Password in cPanel Servers are for security purposes for a certain number of days the...

How to fix CPU Overload/Abuse Issues ?

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

How to install free SSL ?

Hello,how to fix the connection not secure error on your domain (How to install Free SSL...