FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Can't change upload_max_filesize
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Can't change upload_max_filesize [message #183145 is a reply to message #183120] Thu, 10 October 2013 20:32 Go to previous messageGo to previous message
Tobiah is currently offline  Tobiah
Messages: 30
Registered: April 2011
Karma:
Member
On 10/09/2013 02:49 PM, Christoph Michael Becker wrote:
> Tobiah wrote:
>
>> I set upload_max_filesize, and post_max_size in my
>> php.ini to very large values, and restarted apache. I still can't upload
>> files larger than about 1MB. They just silently fail.
>> I check phpinfo() and both of the limits are listed
>> as the small defaults (2M and 8M). Why do the php.ini
>> settings have no effect? I Googled and found at least
>> one person with the exact same complaint.
>>
>> PHP 5.3.10
>
> Have you checked that this php.ini is actually in use? See phpinfo()'s
> "Configuration File (php.ini) Path" and the following entries.
>

That's a great idea, but it seems that I was editing the
correct file:

/etc/php5/apache2/php.ini

as reported by phpinfo()

In that file, I've changed upload_max_filesize and post_max_size
to 200M, also tried 200000000 but phpinfo still reports their
values at 2M and 8M, and large uploads still fail.

Thanks,

Tobiah
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to transfer value to iframe?
Next Topic: counting the plays
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 06:38:02 GMT 2024

Total time taken to generate the page: 0.04182 seconds