Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

File Upload Limit set to 4MB

$
0
0

Hello. I am not sure if this should be in this forum or perhaps the configuration one, but please can someone assist?

I have server 2008R2 with IIS 7.0 installed. I also have PHP 5.4 installed and configured using the PHP Manager

I have a web application written in PHP that allows the uploading of files to a directory. The app is written in PHP with some AJAX.

The app has to handle the upload of anything from 0MB to 2GB.

Testing this app on my local machine using XAMPP proved the app working across multiple browsers. However, as soon as I move it to the IIS server I encounter problems.

The symptom in FF and Chrome is that the upload seems to get to 127MB before restarting, and then it just keeps looping.

I have checked my PHP ini file and it is optimised for large file uploads

However, when I try IE9 I get a message popup that says ASP.NET restricts file uploads to 4MB. This can be changed in the web.config/machine.config file

I have tried putting some settings I found on here into the web.config file but no luck. I am confused as to why ASP is restricting when I am using PHP?

Unfortunately I cannot use XAMPP because of company policy requires me to use IIS. Please can anyone shed some light on this?

Thank you


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>