Re: Can't change upload_max_filesize [message #183184 is a reply to message #183182] |
Fri, 11 October 2013 18:20 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma:
|
Senior Member |
|
|
On 10/11/2013 1:34 PM, Tobiah wrote:
> 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
>
I don't know why it didn't work in your php.ini file, then. It did when
I made the change to my file.
But as long as you got it working, that's good.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
|
|
|