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

How to Add auto responder in cPanel?

Login into cPanel using provided URL and its credentials Go to Mail section Click on add auto...

How to install WordPress on offshore hosting?

Hello,During wordpress installation with Softaculous if you received any errors and unable to...

How to set up e-mail forwarding in cPanel?

1. Login into cPanel using provided URL and its credentials 2. Go to Mail section 3. Click on...

How to Create wild card mail address (or default mail address) for domain?

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

How to Allow Remote Connection to MySQL Server in cPanel/WHM Server?

To prevent potential security risks to MySQL server, by default remote MySQL connections are...