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 Користувачі, які знайшли це корисним
Ця відповідь Вам допомогла?

Схожі статті

How to add MIME Types from cPanel?

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

How to scan Mail/Entire Home Directory/Public Web Space/Public FTP Space from cPanel?

1. Login in cPanel using provided URL and its credentials. 2. Click on Virus Scanner option. 3....

How to manage Mysql database with php My Admin?

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

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

Addon Domains In cPanel

Hello Clients, Are you trying to Add an Domain in your cpanel using addon Domain Option?...