Public bug reported:

Binary package hint: php5

The variable "upload_max_filesize" should be set to a larger default
value in  /etc/php5/apache2/php.ini because this causes numerous
problems in php5 application software such as the gallery2 package.  The
current default is 2M and most photographs these days are larger than 2
meg... thus any time a system upgrade overwrites php.ini this value is
reverted and leads to a flurry of support requests with such programs.
While users can avoid this by choosing not to have php.ini overwritten
during an upgrade, most wouldn't bother to pay attention.

To solve the problem, I'd suggest upping the default value to something
just slightly larger which would encompass a larger number of modern
photo sizes and thus not cause so many problems. Perhaps something like:

upload_max_filesize = 10M

(or perhaps 5 if you really are worried about the minor difference in
security)

I realize this might be an upstream default, so please pass upstream if
necessary.

-James

** Affects: php5 (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
upload_max_filesize should be larger in default php.ini
https://bugs.launchpad.net/bugs/116161
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to