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.

Regards

  • 29 Users Found This Useful
Was this answer helpful?

Related Articles

Addon Domains In cPanel

Hello Clients,Are you trying to Add an Domain in your cpanel using addon Domain Option?Before...

Alternative for PhpMyadmin > Chive

Chive is a modern Open-Source MySQL Data Management tool. With it's fast and elaborate user...

Clearing cookies/Cache on your Browser

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

Enable Gzip To Speedup the Loading time

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

Enabling PhpmyAdmin for cPanel

How to Enable Phpmyadmin ?Login to your WHM > Feature Manager2.You can see "Add a new feature...