Page 1 of 1
Uploading Large Files in PHP
Posted: Mon Aug 04, 2008 3:51 am
by gemini1247
Can anyone help me by providing the ways to upload a larger file say 60 MB ? I tried uploading it.. Maximum size i could upload is only 10 MB.
Regards & Thanks in Advance,
Gemini 
Re: Uploading Large Files in PHP
Posted: Mon Aug 04, 2008 3:59 am
by jaoudestudios
Change the ini file to allow larger files. You will also need to allow more script time too.
Re: Uploading Large Files in PHP
Posted: Mon Aug 04, 2008 4:09 am
by gemini1247
Thanks for your immediate reply. I have tried changing
upload_max_filesize, post_max_size, setting in .ini file but it dint not reflect any changes.
Rgds,
Gemini

Re: Uploading Large Files in PHP
Posted: Mon Aug 04, 2008 4:12 am
by jaoudestudios
Did you restart apache afterwards? and not graceful, I would do a full apache restart.
i.e.
Re: Uploading Large Files in PHP
Posted: Mon Aug 04, 2008 5:00 am
by gemini1247
i use xampp.. i tried restarting Xampp.. it started.. but MYSQL is not running now.. With this issue still i am able to upload files that are less than 10 MB
Rgds,
Gemini
Re: Uploading Large Files in PHP
Posted: Mon Aug 04, 2008 6:43 am
by jaoudestudios
Do you get any errors or timeouts? As you might have to increase script execution time and script input time.
Re: Uploading Large Files in PHP
Posted: Mon Aug 04, 2008 12:04 pm
by RobertGonzalez
Could you please try to post PHP related questions to their appropriate forum. General Discussion is not for things like this. If this is a code question post it to PHP - Code. If it is a configuration question post it to Installation and Configuration. Thanks.
I'll be moving this PHP code momentarily.