Jump to content

php upload fails for large size files


dalitec

Recommended Posts

Hi

 

I am running debian lenny, apache2 php5. My fail upload fails for large file sizes. A 6.2 MB file uploads file, but a 10.2Mb file fails. I have set the Max file size to 50MB and max_execution to 600  etc in php.ini, but still have the same problems. I  have noticed many others having similar problems. Is there a solution?

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/231064-php-upload-fails-for-large-size-files/
Share on other sites

What's the actual syntax that you used to change the upload_max_filesize setting, where exactly did you try to set it at, did you use a phpinfo() statement to verify that it was actually changed, and what does the phpinfo() statement show for the post_max_size setting?

Thank you for pointing out the post_max_size setting. I had changed the upload_max size but not the post_max_size.  Once I changed that, upload worked fine for the larger file size. Thanks again. Hopefully others having similar problems will benefit from this.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.