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

How to enable exec()

You can modify different php settings for your account using a php.ini file. We recommend using...

How to Modify a subdomain ?

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

How to Change the password on an FTP account in cPanel?

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

How To Free Up Disk Space On cPanel Accounts ?

Having too much information stored on your server can cause all sorts of issues. If you get a...

Is it possible to modify php.ini on shared or reseller hosting account?

U can customize these settings by putting a custom php.in in public_html folder or by writing...