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 användare blev hjälpta av detta svar
Hjälpte svaret dig?

Relaterade artiklar

How to Migrate Email from cPanel to cPanel?

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

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 Create Mail Account in cPanel

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

How to add parked domain from cPanel?

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

Enable Gzip To Speedup the Loading time

Hello, Mod_deflate is an apache module that can be used to compress data using gzip compression...