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 Utilisateurs l'ont trouvée utile
Cette réponse était-elle pertinente?

Articles connexes

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 Change the password on an FTP account in cPanel?

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

cPanel - Backup Wizard

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

How to check the Awstats in cPanel?

Login into cPanel using provided URL and its credentials Go to Logs section Click on Awstats

How to install WordPress on offshore hosting?

Hello,During wordpress installation with Softaculous if you received any errors and unable to...