Welcome to WebmasterWorld Guest from 126.96.36.199
How do I increase the max upload size .
Right now i changed the value in php.ini from 200 to 250 mb
However it is not working is there any other modification needed.
Changed the Max upload size and Post max size variables in php.ini
However still no luck , 150mb files are ok as that is max as per upload window.
However php.ini showed 200mb which I changed but when I try to upload a file
of 226mb it tries for 5-10 minutes then get a connection reset in Firefox.
Are you getting any errors when you upload the file? Also, are you checking the file errors [us3.php.net] to see more information about the upload.
Try to work with that information and see what you can conclude. I would check the error details first, though, before you start changing all your directives. Those are some large files you are uploading, as well. Personally for files that large I would set up something else, like an FTP server, for example.
Anyway, best of luck.
But the real problem, I think, will be that many users' browsers will just time out with files this huge. You might consider another approach, one that allows the upload to be managed as a background process, returning an immediate response to the browser. Among other things, this will prevent users from re-initiating the process and putting unnecessary load on your server.
Have a look at pcntl_fork() [us3.php.net]. This is the PHP implementation of fork() that spawns a child process; this is your upload. The parent process then can return an immediate response to the browser and you can write a function that directs to a page that "monitors" the progress of the child process. When the process dies, the upload is done.