Re: Can't change upload_max_filesize [message #183182 is a reply to message #183180] |
Fri, 11 October 2013 17:34 |
Tobiah
Messages: 30 Registered: April 2011
Karma:
|
Member |
|
|
On 10/11/2013 10:29 AM, Jerry Stuckle wrote:
> On 10/11/2013 1:16 PM, 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.
I meant that phpinfo() reflected the changes.
>> Thanks for your help,
>>
>> Tobiah
>>
>
> That's great.
>
> I don't know why it didn't work in your php.ini file, unless you added the lines at the beginning of the file (and didn't delete the
> later entries).
>
No, I just edited the values in place, and
the values don't exist anywhere else in the
file, or anywhere else in /etc for that matter.
Anyway, it seems that the conf.d method is
superior for reasons that you mentioned, so
I'm happy.
Tobiah
|
|
|