WAMP choking on large upload
Posted by: gelform (38.98.105.---)
Date: December 23, 2008 04:56PM

I'm developing locally so using WAMP (which rules!) but... what I'm building uses an upload page. I can upload files up to about 5Mb, but after that the files don't even show up in the $_FILES data. The same code works on a remote server just fine, and works locally with smaller files. I've set the upload_max_filesize and post_max_size in my php.ini. Not sure what else to do.

Thanks for any ideas.

Options: ReplyQuote
Re: WAMP choking on large upload
Posted by: yfastud (Moderator)
Date: December 23, 2008 07:56PM

make sure to edit the correct php.ini file

Try these different settings in C:\wamp\bin\apache\apache2.2.x\bin\php.ini

Find:
post_max_size = 8M
upload_max_filesize = 2M
max_execution_time = 30
max_input_time = 60
memory_limit = 8M

Change to:
post_max_size = 750M
upload_max_filesize = 750M
max_execution_time = 5000
max_input_time = 5000
memory_limit = 1000M

Then restart wamp to take effect

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: WAMP choking on large upload
Posted by: gelform (38.98.105.---)
Date: December 23, 2008 08:34PM

Success! Thanks v much. Right file, just didn't hit all the right variables.

Options: ReplyQuote
Re: WAMP choking on large upload
Posted by: yfastud (Moderator)
Date: December 24, 2008 05:28AM


Options: ReplyQuote
Re: WAMP choking on large upload
Posted by: aanand (120.56.235.---)
Date: January 09, 2011 08:35PM

I have to upload many large size files. It is successfully uploaded on server where xampp is installed with same values of above mentioned variables in php.ini file. But, those large size file (>20mb) is not uploading on server where wamp is installed. Please help me out to resolve this issue. I have dedicated server.

In my wamp, following is the version of php and apache.
php 5.2.11
Apache 2.2.14

Thanks,
Aanand

Options: ReplyQuote


Sorry, only registered users may post in this forum.