upload files limits issue & php.ini values

kiti

Member
Sep 16, 2015
19
3
53
france
cPanel Access Level
Root Administrator
Hi,

In the multiPHP ini editor there is an option to setup the upload_max_filesize
However, on its own, this setting is useless for web applications like WordPress or drupal.
The post_max_size in php ini should be as much as the upload_max_filesize otherwise it does not change anything.

Let me give you an example:

I install WHM, i go to multiphp ini editor and I setup the upload_max_filesize to 64M hoping my customers will be able to upload files that will be maximum 64Mb to their wordpress websites.

However, behind in php.ini, the post_max_size = 8M. So in fact, my customers will only be able to upload max. 8M files.

I would need to go to the editor mode of php.ini and change post_max_size = 64M

This thread talks about this issue:
PHP post_max_size overrides upload_max_filesize
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Hi @kiti,

We're including post_max_size to the Basic Mode of the MultiPHP INI Editors in cPanel version 68.

Thanks!