This website is deprecated, and remains online only for historic access to old issues and docs for historic versions of Virtualmin. It has been unmaintained for several years, and should not be relied on for up-to-date information. Please visit www.virtualmin.com instead.
Go to WebMin
go to: Others--> PHP Configuration and edit the following files (selecting "Manage")
/etc/php5/apache2/php.ini
/etc/php5/cgi/php.ini
Change the values shown in:
Maximum file upload size
Maximum HTTP POST size
to whatever size you want, in my case was 20M
From Virtualmin, selected my website or virtualhost where I wanted up to 20M size attachments and went to:
Services--> PHP5 Configuration
Then selected Resource Limits
and modified this:
Yes, there are multiple variables which need to be adjusted in PHP in order to support larger files, not just the single one as you discovered. Cheers!
I was able to fix this...
Here's what I did:
Go to WebMin go to: Others--> PHP Configuration and edit the following files (selecting "Manage") /etc/php5/apache2/php.ini /etc/php5/cgi/php.ini
Change the values shown in: Maximum file upload size Maximum HTTP POST size to whatever size you want, in my case was 20M
From Virtualmin, selected my website or virtualhost where I wanted up to 20M size attachments and went to: Services--> PHP5 Configuration Then selected Resource Limits and modified this:
Maximum file upload size Maximum HTTP POST size
again to 20M in my case.
Hi,
Yes, there are multiple variables which need to be adjusted in PHP in order to support larger files, not just the single one as you discovered. Cheers!
Best Regards,
Peter Knowles
TPN Solutions
E: pknowles@tpnsolutions.com
P: 604-782-9342
W: http://www.tpnsolutions.com
Best Regards,
Peter Knowles | TPN Solutions
Email: pknowles@tpnsolutions.com | Skype: tpnassist