Software :: PHP Memory_limit Vs. Upload_max_filesize?
Feb 22, 2011
I'm having a very frustrating time getting large uploads working with Debian 6, Apache 2.2, and php 5.3.As I increase the upload_max_filesize & post_max_size configs at some point all uploads (regardless of size) start to fail silently.I've got my timeouts set to 600 seconds; I'm not running into timeout problems. I'm setting post_max_size to upload_max + 10mb, which should be more than enough for an otherwise empty upload test form.It works as expected with 64mb uploads but with 128mb uploads it fails silently.Should it be theoretically possible for php to accept an upload that is larger than its memory_limit (ie a php process memory_limit of 128mb and upload_max_filesize of 129mb) or does it all need to fit in memory? If it is theoretically possible does anyone else have any insight into making it actually happen?
View 4 Replies
Mar 9, 2010
I have been trying to change the value for "upload_max_filesize" and cant seem to do it, Anything else i change in php.ini it change takes effect as soon as i restart server, however no matter what i do it will not change "upload_max_filesize" I need to change this and I cant figure out why. Everything i looked at just says to change it in php.ini
View 5 Replies
View Related
Aug 23, 2010
The problem is that "upload_max_filesize" wont change when I change the the default 2M to 10M in the php.ini and restart apache.
I have also tried make it change with a .htaccess file. I have tried to search for all my php.ini files with
Code:
find / -name *php.ini
I get
Code:
/etc/php5/cli/php.ini
/etc/php5/apache2/php.ini
/etc/php5/cgi/php.ini
My system is :Linux Debian-50-lenny-64-minimal 2.6.26-2-amd64 And I have installed a LAMP with the newest packages. My next idea was to use a different version of php.
View 4 Replies
View Related