Jump to content

Recommended Posts

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 :)..

Link to comment
https://forums.phpfreaks.com/topic/180904-users-cant-upload-more-than-6mb/
Share on other sites

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

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.