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 remove Reported Attack Page from your website ?

Google submit form step1- http://www.google.co.in/webmasters/tools/2- Click on add a site...

How to enable/disable allow_url_fopen and allow_url_include functions

allow_url_fopen: For security reason, in shared hosting account allow_url_fopen is disabled by...

How to Create FTP account in cPanel?

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

How to Change the style or theme of cPanel ?

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

How to edit/delete/upload/download the files from file manager?

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