ThunderLee Posted November 9, 2009 Share Posted November 9, 2009 Hello! I have a website where people can upload content, although this is going great no one is able to upload more than 6mb for some reason.. I have IIS7, Plesk and PHP5 I have done the following: Search Google, I found a few articles and edited my php.ini and IIS7 with the following edits, is there anything I'm missing or doing wrong for the 6MB limit?? I want at least 20MB limit.. Edited PHP.ini with the following ;;;;;;;;;;;;;;;; ; File Uploads ; ;;;;;;;;;;;;;;;; ; Whether to allow HTTP file uploads. file_uploads = On ; Temporary directory for HTTP uploaded files (will use system default if not ; specified). ;upload_tmp_dir = ; Maximum allowed size for uploaded files. upload_max_filesize = 20M And in IIS7 I have put: Maximum Requesting Entivity Body Limit: 200000000 Response Buffering Limit: 200000000 If someone uploads a file too big they get Internel Server Error Please help .. Quote Link to comment https://forums.phpfreaks.com/topic/180904-users-cant-upload-more-than-6mb/ Share on other sites More sharing options...
ThunderLee Posted November 9, 2009 Author Share Posted November 9, 2009 Bump.. Any help?? Quote Link to comment https://forums.phpfreaks.com/topic/180904-users-cant-upload-more-than-6mb/#findComment-954413 Share on other sites More sharing options...
oni-kun Posted November 9, 2009 Share Posted November 9, 2009 I'm not 100% sure but I believe PHP can only POST 8MBs of data at one time? I believe you'll need to use another form of uploading.. I'm sure there's many scripts out there, JS/AJAX. It's what AJAX is for (really). Quote Link to comment https://forums.phpfreaks.com/topic/180904-users-cant-upload-more-than-6mb/#findComment-954419 Share on other sites More sharing options...
IchBin Posted November 9, 2009 Share Posted November 9, 2009 Are you getting an execution timeout? How long is IIS set to run until it times out on a process? Don't forget the post_max_size should be slightly more than your upload limit. Quote Link to comment https://forums.phpfreaks.com/topic/180904-users-cant-upload-more-than-6mb/#findComment-954423 Share on other sites More sharing options...
ThunderLee Posted November 9, 2009 Author Share Posted November 9, 2009 I'm not 100% sure but I believe PHP can only POST 8MBs of data at one time? I believe you'll need to use another form of uploading.. I'm sure there's many scripts out there, JS/AJAX. It's what AJAX is for (really). Nope, I can sucessfully upload 15MB of data from my home pc behind a proxy :/, also on my old server I was able to do this..? @ Ichbin, The only error a user gets when trying to upload more than 6MB is "Internal Server Error" I have put post_max_size to 25 and upload limit to 20? www.mymediaupload.com/Pictures/image.jpg Quote Link to comment https://forums.phpfreaks.com/topic/180904-users-cant-upload-more-than-6mb/#findComment-954426 Share on other sites More sharing options...
PFMaBiSmAd Posted November 9, 2009 Share Posted November 9, 2009 Confirm the settings you have been making using a phpinfo() statement. If the php.ini that you are changing is not the one that php is using or you are not stopping and starting the IIS service to get the changes to take effect, it won't matter what you put into the php.ini. Quote Link to comment https://forums.phpfreaks.com/topic/180904-users-cant-upload-more-than-6mb/#findComment-954438 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.