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 Change the language of cPanel ?

Login into cPanel using provided URL and its credentials Click on preference section Click on...

How to Log in to cPanel?

You need to log in to cPanel  in order to manage your web site.To access cPanel using your...

How to Migrate Email from cPanel to cPanel?

When transferring accounts between servers, transferring of email accounts is quite different....

How to back up and restore emails in cPanel webmail?

If you use cPanel mail service for your domain, it is possible to back up (export) your emails...

Modifying the htaccess file to use a custom php.ini file throughout your website

This guide provides instructions for modifying .htaccess to use a custom php.ini throughout your...