Adjust PHP Maximum file upload size for all sites, or as a template?

SYSTEM INFORMATION
OS type and version RHEL 8.6
Virtualmin version 7.1

Hi, Is it possible to adjust PHP Maximum file upload at the template level or for all existing web sites?

It is possible at server templates. You should be able to find it on Virtualmin > System Settings > Server Templates > PHP Options.

But I don’t know which part to modify, but I guess it is on PHP configuration variables for scripts section.

However, if you want to change the limit on all servers, you can change it on Webmin > Tools > PHP Configuration > manage > resource limits.

AFAIK, it use value from /etc/php.ini if it is lower than /etc/opt/remi/php74/php.ini or other PHP version’s php.ini

so /etc/php.ini will limit php(version)/php.ini
and php(version)/php.ini will limit each virtual server’s php.ini on each php versions used.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.