driverC

Well-Known Member
Jul 23, 2004
111
0
166
Hi,

I tried to modify the upload_max_filesize value using a php.ini file on a shared hosting account. The change was not applied according to phpinfo.php.

So then I logged in as root to WHM and under PHP Configuration -> Advanced I changed the server's global setting for upload_max_filesize. I looked at /usr/local/lib/php.ini via shell to make sure the change was done successfully which it was. Then I restarted Apache.

However, even after that upload_max_filesize is still at 2 MB according to phpinfo.php. At this time it seems as if there is no way to modify this value. Does anyone have any idea how this can be modified by the administrator of the server or by the end user ?

Thank you !
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
42
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
What is the path to the php.ini in the phpinfo page for this line:

Loaded Configuration File
This is the php.ini that the account would be using for the values.