php max upload size settings not being followed
Even though I have changed the max upload filesize statements in three different php.ini files (one in each of the 5.5, 5.6, and 7 folders) my Joomla sites are still seeing their max uploads limited to 8MB. I have even used tweak settings in WHM to set the max filesize to 64MB but the 8MB is still being shown. It doesn't matter if I change a user's PHP version to 7, 5.6, or 5.5, they all still show an 8MB limit in Joomla even though when we look at phpinfo it states the max size is 64MB. I am changing the php.ini whose path is mentioned in the phpinfo statements but it doesn't seem to have any effect.
Am I missing something somewhere? Where else would that be controlled at? I've already restarted Apache. Do I have to rebuild after changing those or something?
-
Hello, The option in "WHM >> Tweak Settings" is intended for the internal cPanel PHP, not the PHP utilized by your websites. Please update the value using the cPanel MultiPHP INI Editor: MultiPHP INI Editor for cPanel - Documentation - cPanel Documentation Thank you. 0 -
Hello, The option in "WHM >> Tweak Settings" is intended for the internal cPanel PHP, not the PHP utilized by your websites. Please update the value using the cPanel MultiPHP INI Editor:
Already did that. I set it to 64MB in all three sections (5.5, 5.6, and 7) and then checked via SSH to see and the php.ini files are indeed changed. However, despite this I am still getting an 8MB upload limit showing in any PHP program running in an account. This happens in both Joomla and in Wordpress and is the same on any account of the dozens of different accounts on the server. Is there anything else that could be stopping the changes from being applied at the account level?0 -
However, despite this I am still getting an 8MB upload limit showing in any PHP program running in an account. This happens in both Joomla and in Wordpress and is the same on any account of the dozens of different accounts on the server.
Could you verify which version of cPanel is installed on this system? Also, what PHP handler is utilized for the version of PHP associated with the account? Did you also increase the post_max_size value? Thank you.0 -
I'm stupid... Forgot about the post size variable... That fixed it. Thank you for the assistance! 0 -
I'm happy to see the issue is now solved. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
5 comments