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 Utenti hanno trovato utile questa risposta
Hai trovato utile questa risposta?

Articoli Correlati

How to Migrate Email from cPanel to cPanel?

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

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...

Migration of cPanel/WHM From other Servers

Hello, How to Migrate an cPanel from one server to another server without Root access over FTP?...

How to add Google Apps MX records in cPanel

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

Enable Gzip To Speedup the Loading time

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