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 brukere syntes dette svaret var til hjelp
Var dette svaret til hjelp?

Relaterte artikler

How to edit/delete/upload/download the files from file manager?

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

How to add MIME Types from cPanel?

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

Modifying the htaccess file to use a custom php.ini file throughout your website

This guide provides instructions for modifying .htaccess to use a custom php.ini throughout your...

Increasing Max Upload Size in cPanel

Hello, How to increase Max upload size in cPanel using php.ini file ? Login to your cPanel >...

How to Access database remotely (using wildcard)?

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