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
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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.