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

Related Articles

WHMBill Installation Guide

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

How do I setup personal nameservers?

To set up your own private nameservers, it is necessary to manually register them at the domain...

How to block IP in cPanel?

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

My e-mail is going to the bulk or spam folder!

You can create an SPF record from cpanel > Email Authentication for your all domains that are...

How to create subdomain from cPanel?

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