Knowledgebase

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 Users Found This Useful
Was this answer helpful?

Related Articles

How to install free SSL ?

How to fix not secure error on your domain or How to install Free SSL Letencrypt over AutoSSL?...

How to Add DMARC Record in cPanel ?

A DMARC record is used to validate emails in order to prevent email spoofing. DMARC -which...

How to protect your cPanel/WHM from hackers ?

- Don't Save your Password in Browsers- Use Secure browser Google chrome for better security as...

How to fix CPU Overload/Abuse Issues ?

Hello,This article will help you with fixing CPU Overload/Abuse issues for your cPanel accounts....

How to use the Hostagle Hosting Customer Portal

The Hostagle Hosting Customer Portal at https://portal.hostagle.com is the place to go to manage...