Re: Can't change upload_max_filesize [message #183179 is a reply to message #183178] |
Fri, 11 October 2013 17:28 |
Thomas 'PointedEars'
Messages: 701 Registered: October 2010
Karma:
|
Senior Member |
|
|
Tobiah wrote:
>> BTW, standard Ubuntu and Debian operation is to NOT change the default
>> configuration files. Rather, you add the parameters you want
>> to a new file in a directory reserved for it - in this case,
>> /etc/php5/apache2/conf.d. That way when you update a package, your
>> customized changes don't get lost. Placing these same changes in
>> /etc/php5/apache2/conf.d/zzzmyconfig.ini also worked.
>
> Ding ding ding!
>
> I put the to lines in question:
>
> post_max_size = 200M
> upload_max_filesize = 200M
>
> into a new file in conf.d, and php.ini immediately
> reflected the changes, and large uploads work now. Yay.
As no doubt phpinfo() has told you to do.
PointedEars
--
> If you get a bunch of authors […] that state the same "best practices"
> in any programming language, then you can bet who is wrong or right...
Not with javascript. Nonsense propagates like wildfire in this field.
-- Richard Cornford, comp.lang.javascript, 2011-11-14
|
|
|