+ 3
Uploading a large size file to a server via php on iis
Hello everyone :-) I've a question about upload a file to a server via php on iis of Microsoft. I've written the code and it's working fine for small size files, but when I'm trying to upload a large file, the session is close before the file is uploaded. I've changed the the session open time on the conf file of the php and in the iis conf file also, but still it don't work. Any idea how to solve it? Thanks to the helpers :-)
6 odpowiedzi
+ 2
I can try Apache but it'll take time that I don't have in the moment
+ 1
Maybe you must to change megabyte limits too
+ 1
@Daniel Fernández Hidalgo I did that to, I changed it to unlimited. Still don't work.
+ 1
@Bagshot my problem isn't the file size, it's the uploading time.
After about 3-5 min the browser is ends the session, no matter what I do.
0
could you try in another server?
0
With Apache you must change settings in the php.ini file. It's currently set to 2MB for max upload size. It's been a while so I can't remember the exact setting, but I'm sure if you google it, you'll find what you need. Maybe iis is similar. Good Luck.