How to increase upload max filesize and post max size on linux server in cpanel/WHM through command line putty

To increase upload max filesize and post max size is a very common issue but while searching on net you will find some very difficult answers, if you are running a dedicated server or VPS, you can do it just in a minute.

Steps, how to increase upload max filesize and post max size on linux server in cpanel/WHM.

There is no need to use SSH or putty software, even you can do that from there as well but through WHM/cpanel interface, it is quite easy to do things.

  1. Simply login to your dedicated server or VPS using root password.
  2. Follow this link Main >> Service Configuration >> PHP Configuration Editor
  3. Here you find these two options
    

You must select here “ ” , it will redirect you to change php.ini file, here you can find all the options to modify like post_max_size, upload_max_filesize and memory_limit and many more.

Here you can change the sizes of all according to your wishes. once you done, simply save these configurations through the button given at the end.

Now you have done, you may restart your apache to get things activated quickly.


Now if you want to verify these changes, you may download a file phpinfo.php  internet and upload it on the root folder of any of your website hosted on that server and then browse it as yourdomain.com/phpinfo.php

Here you can verify the changes.


Add a Comment

*