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 Usuários acharam útil
Esta resposta lhe foi útil?

Artigos Relacionados

How to Create FTP account in cPanel?

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

Clearing cookies/Cache on your Browser

Hello Clients, This article will help you to Mass Refresh your browser to clear the cache. We...

Wordpress Optimization Guide

By Default Wordpress will consume lot resource if its Not optimized in proper Way. Do the...

cPanel - Backup Wizard

You can use cPanel Backup Wizard to Backup and Restore your cPanel website step by step. cPanel...

How to manage Mysql database with php My Admin?

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